Skip to content

Commit b62efec

Browse files
authored
no need to define skip short names on StringClassNameToClassConstantRector
1 parent b43a3d0 commit b62efec

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

rector.php

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -150,14 +150,7 @@
150150
$rectorConfig->rule(MakeInheritedMethodVisibilitySameAsParentRector::class);
151151
$rectorConfig->rule(SimplifyEmptyArrayCheckRector::class);
152152
$rectorConfig->rule(NormalizeNamespaceByPSR4ComposerAutoloadRector::class);
153-
$rectorConfig->ruleWithConfiguration(StringClassNameToClassConstantRector::class, [
154-
'Error',
155-
'Exception',
156-
'InvalidArgumentException',
157-
'Closure',
158-
'stdClass',
159-
'SQLite3',
160-
]);
153+
$rectorConfig->rule(StringClassNameToClassConstantRector::class);
161154
$rectorConfig->rule(PrivatizeFinalClassPropertyRector::class);
162155
$rectorConfig->rule(CompleteDynamicPropertiesRector::class);
163156
};

0 commit comments

Comments
 (0)