diff --git a/rector.php b/rector.php index 7c5537767..d626793ce 100644 --- a/rector.php +++ b/rector.php @@ -28,16 +28,14 @@ return static function (RectorConfig $rectorConfig): void { \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 //$rectorConfig->rule(\Chill\Utils\Rector\Rector\ChillBundleAddFormDefaultDataOnExportFilterAggregatorRector::class); // skip some path... $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 ? \Rector\Php71\Rector\FuncCall\CountOnNullRector::class,