|
12 | 12 | */ |
13 | 13 |
|
14 | 14 | use Rector\Caching\ValueObject\Storage\FileCacheStorage; |
| 15 | +use Rector\CodeQuality\Rector\BooleanNot\NegatedAndsToPositiveOrsRector; |
15 | 16 | use Rector\CodeQuality\Rector\Empty_\SimplifyEmptyCheckOnEmptyArrayRector; |
16 | 17 | use Rector\CodeQuality\Rector\FuncCall\CompactToVariablesRector; |
17 | 18 | use Rector\CodeQuality\Rector\FunctionLike\SimplifyUselessVariableRector; |
|
22 | 23 | use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector; |
23 | 24 | use Rector\CodingStyle\Rector\FuncCall\VersionCompareFuncCallToConstantRector; |
24 | 25 | use Rector\Config\RectorConfig; |
| 26 | +use Rector\DeadCode\Rector\ClassMethod\RemoveDuplicatedReturnSelfDocblockRector; |
25 | 27 | use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector; |
26 | 28 | use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector; |
27 | 29 | use Rector\DeadCode\Rector\MethodCall\RemoveNullArgOnNullDefaultParamRector; |
|
36 | 38 | use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector; |
37 | 39 | use Rector\PHPUnit\CodeQuality\Rector\FuncCall\AssertFuncCallToPHPUnitAssertRector; |
38 | 40 | use Rector\PHPUnit\CodeQuality\Rector\StmtsAwareInterface\DeclareStrictTypesTestsRector; |
39 | | -use Rector\PostRector\Rector\UnusedImportRemovingPostRector; |
40 | 41 | use Rector\Privatization\Rector\Class_\FinalizeTestCaseClassRector; |
41 | 42 | use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; |
42 | 43 | use Rector\Renaming\Rector\ConstFetch\RenameConstantRector; |
|
175 | 176 | __DIR__ . '/tests/system/Models', |
176 | 177 | ], |
177 | 178 |
|
178 | | - UnusedImportRemovingPostRector::class => [ |
179 | | - // buggy on auto import removed |
180 | | - __DIR__ . '/system/HTTP/Response.php', |
181 | | - ], |
| 179 | + // to be applied in separate PRs to ease review |
| 180 | + NegatedAndsToPositiveOrsRector::class, |
| 181 | + RemoveDuplicatedReturnSelfDocblockRector::class, |
182 | 182 | ]) |
183 | 183 | // auto import fully qualified class names |
184 | 184 | ->withImportNames() |
|
0 commit comments