mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-28 05:35:20 +01:00
ce1c29184d
[scoped] change only year and month, to make diff esaier to see; autoload is handled already
15 lines
594 B
PHP
15 lines
594 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace RectorPrefix202206;
|
|
|
|
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 (RectorConfig $rectorConfig) : void {
|
|
$rectorConfig->ruleWithConfiguration(RenameFunctionRector::class, ['mysqli_param_count' => 'mysqli_stmt_param_count']);
|
|
$rectorConfig->rule(RemoveReferenceFromCallRector::class);
|
|
$rectorConfig->rule(RemoveZeroBreakContinueRector::class);
|
|
};
|