From 01c460ee526f057b6a4d48835ac19536a857c347 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 11 Mar 2024 12:28:16 +0700 Subject: [PATCH] Clean up skip config on rector.php (#5713) --- rector.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rector.php b/rector.php index 500e01b389b..e1d06692eaa 100644 --- a/rector.php +++ b/rector.php @@ -2,7 +2,6 @@ declare(strict_types=1); -use Rector\CodeQuality\Rector\FuncCall\SimplifyRegexPatternRector; use Rector\CodingStyle\Rector\String_\UseClassKeywordForClassNameResolutionRector; use Rector\Config\RectorConfig; use Rector\DeadCode\Rector\ConstFetch\RemovePhpVersionIdCheckRector; @@ -48,11 +47,6 @@ // keep configs untouched, as the classes are just strings UseClassKeywordForClassNameResolutionRector::class => [__DIR__ . '/config', '*/config/*'], - // avoid simplifying itself - SimplifyRegexPatternRector::class => [ - __DIR__ . '/rules/CodeQuality/Rector/FuncCall/SimplifyRegexPatternRector.php', - ], - // race condition with stmts aware patch and PHPStan type AddMethodCallBasedStrictParamTypeRector::class => [ __DIR__ . '/rules/DeadCode/Rector/If_/RemoveUnusedNonEmptyArrayBeforeForeachRector.php',