From 939a6753bdc5b261ace74f05931d9b0240e39994 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20Fastr=C3=A9?= Date: Tue, 29 Aug 2023 14:49:33 +0200 Subject: [PATCH] Remove unexisting rule on rector --- rector.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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,