Skip to content

Commit 117dc1d

Browse files
authored
Merge pull request #8919 from samsonasik/chore-clean-rector-skip
chore: remove JsonThrowOnErrorRector and FinalizePublicClassConstantRector from skip() config
2 parents b1e2366 + 3e90a29 commit 117dc1d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

rector.php

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@
4444
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
4545
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
4646
use Rector\Php70\Rector\FuncCall\RandomFunctionRector;
47-
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
4847
use Rector\Php80\Rector\Class_\AnnotationToAttributeRector;
4948
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
5049
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
51-
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
5250
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
5351
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector;
5452
use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\CoversAnnotationWithValueToAttributeRector;
@@ -107,7 +105,6 @@
107105
__DIR__ . '/tests/_support/Commands/Foobar.php',
108106
__DIR__ . '/tests/_support/View',
109107

110-
JsonThrowOnErrorRector::class,
111108
YieldDataProviderRector::class,
112109

113110
RemoveUnusedPromotedPropertyRector::class => [
@@ -174,16 +171,6 @@
174171
],
175172
MixedTypeRector::class,
176173

177-
// PHP 8.1 features but cause breaking changes
178-
FinalizePublicClassConstantRector::class => [
179-
__DIR__ . '/system/Cache/Handlers/BaseHandler.php',
180-
__DIR__ . '/system/Cache/Handlers/FileHandler.php',
181-
__DIR__ . '/system/CodeIgniter.php',
182-
__DIR__ . '/system/Events/Events.php',
183-
__DIR__ . '/system/Log/Handlers/ChromeLoggerHandler.php',
184-
__DIR__ . '/system/Log/Handlers/ErrorlogHandler.php',
185-
__DIR__ . '/system/Security/Security.php',
186-
],
187174
ReturnNeverTypeRector::class => [
188175
__DIR__ . '/system/Cache/Handlers/BaseHandler.php',
189176
__DIR__ . '/system/Cache/Handlers/MemcachedHandler.php',

0 commit comments

Comments
 (0)