|
18 | 18 | use Rector\CodeQuality\Rector\Expression\InlineIfToExplicitIfRector;
|
19 | 19 | use Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector;
|
20 | 20 | use Rector\CodeQuality\Rector\FuncCall\ChangeArrayPushToArrayAssignRector;
|
21 |
| -use Rector\CodeQuality\Rector\FuncCall\SimplifyRegexPatternRector; |
22 | 21 | use Rector\CodeQuality\Rector\FuncCall\SimplifyStrposLowerRector;
|
23 | 22 | use Rector\CodeQuality\Rector\FuncCall\SingleInArrayToCompareRector;
|
24 | 23 | use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector;
|
|
36 | 35 | use Rector\Config\RectorConfig;
|
37 | 36 | use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
|
38 | 37 | use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
|
39 |
| -use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector; |
40 | 38 | use Rector\DeadCode\Rector\If_\UnwrapFutureCompatibleIfPhpVersionRector;
|
41 | 39 | use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
|
42 | 40 | use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
|
|
107 | 105 |
|
108 | 106 | YieldDataProviderRector::class,
|
109 | 107 |
|
110 |
| - RemoveUnusedPromotedPropertyRector::class => [ |
111 |
| - // Bug in rector 1.0.0. See https://github.com/rectorphp/rector-src/pull/5573 |
112 |
| - __DIR__ . '/tests/_support/Entity/CustomUser.php', |
113 |
| - ], |
114 |
| - |
115 | 108 | RemoveUnusedPrivateMethodRector::class => [
|
116 | 109 | // private method called via getPrivateMethodInvoker
|
117 | 110 | __DIR__ . '/tests/system/Test/ReflectionHelperTest.php',
|
|
155 | 148 | // use mt_rand instead of random_int on purpose on non-cryptographically random
|
156 | 149 | RandomFunctionRector::class,
|
157 | 150 |
|
158 |
| - SimplifyRegexPatternRector::class, |
159 |
| - |
160 | 151 | // PHP 8.0 features but cause breaking changes
|
161 | 152 | ClassPropertyAssignToConstructorPromotionRector::class => [
|
162 | 153 | __DIR__ . '/system/Database/BaseResult.php',
|
|
221 | 212 | $rectorConfig->rule(ChangeArrayPushToArrayAssignRector::class);
|
222 | 213 | $rectorConfig->rule(UnnecessaryTernaryExpressionRector::class);
|
223 | 214 | $rectorConfig->rule(RemoveErrorSuppressInTryCatchStmtsRector::class);
|
224 |
| - $rectorConfig->rule(SimplifyRegexPatternRector::class); |
225 | 215 | $rectorConfig->rule(FuncGetArgsToVariadicParamRector::class);
|
226 | 216 | $rectorConfig->rule(MakeInheritedMethodVisibilitySameAsParentRector::class);
|
227 | 217 | $rectorConfig->rule(SimplifyEmptyArrayCheckRector::class);
|
|
0 commit comments