|
44 | 44 | use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
|
45 | 45 | use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
|
46 | 46 | use Rector\Php70\Rector\FuncCall\RandomFunctionRector;
|
47 |
| -use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector; |
48 | 47 | use Rector\Php80\Rector\Class_\AnnotationToAttributeRector;
|
49 | 48 | use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
|
50 | 49 | use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
|
51 |
| -use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector; |
52 | 50 | use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
|
53 | 51 | use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector;
|
54 | 52 | use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\CoversAnnotationWithValueToAttributeRector;
|
|
107 | 105 | __DIR__ . '/tests/_support/Commands/Foobar.php',
|
108 | 106 | __DIR__ . '/tests/_support/View',
|
109 | 107 |
|
110 |
| - JsonThrowOnErrorRector::class, |
111 | 108 | YieldDataProviderRector::class,
|
112 | 109 |
|
113 | 110 | RemoveUnusedPromotedPropertyRector::class => [
|
|
174 | 171 | ],
|
175 | 172 | MixedTypeRector::class,
|
176 | 173 |
|
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 |
| - ], |
187 | 174 | ReturnNeverTypeRector::class => [
|
188 | 175 | __DIR__ . '/system/Cache/Handlers/BaseHandler.php',
|
189 | 176 | __DIR__ . '/system/Cache/Handlers/MemcachedHandler.php',
|
|
0 commit comments