Skip to content

Commit 92eba45

Browse files
authored
Clean up skip config on rector.php (#6262)
1 parent b2b18ab commit 92eba45

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

rector.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
use Rector\CodingStyle\Rector\String_\UseClassKeywordForClassNameResolutionRector;
66
use Rector\Config\RectorConfig;
77
use Rector\DeadCode\Rector\ConstFetch\RemovePhpVersionIdCheckRector;
8-
use Rector\Naming\Rector\ClassMethod\RenameParamToMatchTypeRector;
98
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
10-
use Rector\TypeDeclaration\Rector\ClassMethod\AddMethodCallBasedStrictParamTypeRector;
119

1210
return RectorConfig::configure()
1311
->withPreparedSets(
@@ -48,14 +46,6 @@
4846
'*/Source*',
4947
'*/Expected/*',
5048

51-
// stmts aware type
52-
RenameParamToMatchTypeRector::class => [
53-
__DIR__ . '/rules/DeadCode/Rector/If_/RemoveUnusedNonEmptyArrayBeforeForeachRector.php',
54-
],
55-
AddMethodCallBasedStrictParamTypeRector::class => [
56-
__DIR__ . '/rules/DeadCode/Rector/If_/RemoveUnusedNonEmptyArrayBeforeForeachRector.php',
57-
],
58-
5949
// keep configs untouched, as the classes are just strings
6050
UseClassKeywordForClassNameResolutionRector::class => [__DIR__ . '/config', '*/config/*'],
6151

0 commit comments

Comments
 (0)