mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-24 11:44:14 +01:00
c0086b7e14
[e2e] Add e2e for tests removed node display applied rules with return null (#2320)
15 lines
702 B
PHP
15 lines
702 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix20220516;
|
|
|
|
use Rector\Config\RectorConfig;
|
|
use Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector;
|
|
use Rector\Php54\Rector\FuncCall\RemoveReferenceFromCallRector;
|
|
use Rector\Renaming\Rector\FuncCall\RenameFunctionRector;
|
|
return static function (\Rector\Config\RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->ruleWithConfiguration(\Rector\Renaming\Rector\FuncCall\RenameFunctionRector::class, ['mysqli_param_count' => 'mysqli_stmt_param_count']);
|
|
$rectorConfig->rule(\Rector\Php54\Rector\FuncCall\RemoveReferenceFromCallRector::class);
|
|
$rectorConfig->rule(\Rector\Php54\Rector\Break_\RemoveZeroBreakContinueRector::class);
|
|
};
|