Skip to content

Commit

Permalink
Clean up skip config on rector.php (#5713)
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik authored Mar 11, 2024
1 parent 861a880 commit 01c460e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 01c460e

Please sign in to comment.