Remove unexisting rule on rector

This commit is contained in:
Julien Fastré 2023-08-29 14:49:33 +02:00
parent 52d791f6d0
commit 939a6753bd
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -28,16 +28,14 @@ return static function (RectorConfig $rectorConfig): void {
\Rector\Symfony\Set\SymfonyLevelSetList::UP_TO_SYMFONY_44, \Rector\Symfony\Set\SymfonyLevelSetList::UP_TO_SYMFONY_44,
]); ]);
$rectorConfig->rule(\Rector\Symfony\Configs\Rector\ClassMethod\AddRouteAnnotationRector::class); // some routes are added twice if it remains activated
// $rectorConfig->rule(\Rector\Symfony\Configs\Rector\ClassMethod\AddRouteAnnotationRector::class);
// chill rules // chill rules
//$rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class); //$rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class);
// skip some path... // skip some path...
$rectorConfig->skip([ $rectorConfig->skip([
// make rector stuck for some files
\Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector::class,
// we need to discuss this: are we going to have FALSE in tests instead of an error ? // we need to discuss this: are we going to have FALSE in tests instead of an error ?
\Rector\Php71\Rector\FuncCall\CountOnNullRector::class, \Rector\Php71\Rector\FuncCall\CountOnNullRector::class,