|
21 | 21 | use Rector\CodingStyle\Rector\Encapsed\EncapsedStringsToSprintfRector;
|
22 | 22 | use Rector\CodingStyle\Rector\Encapsed\WrapEncapsedVariableInCurlyBracesRector;
|
23 | 23 | use Rector\Config\RectorConfig;
|
24 |
| -use Rector\Core\Configuration\Option; |
25 |
| -use Rector\Core\ValueObject\PhpVersion; |
| 24 | +use Rector\Configuration\Option; |
26 | 25 | use Rector\DeadCode\Rector\Assign\RemoveUnusedVariableAssignRector;
|
27 | 26 | use Rector\DeadCode\Rector\ClassMethod\RemoveEmptyClassMethodRector;
|
28 | 27 | use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector;
|
29 | 28 | use Rector\EarlyReturn\Rector\Return_\ReturnBinaryOrToEarlyReturnRector;
|
30 | 29 | use Rector\EarlyReturn\Rector\StmtsAwareInterface\ReturnEarlyIfVariableRector;
|
31 | 30 | use Rector\PHPUnit\CodeQuality\Rector\MethodCall\RemoveExpectAnyFromMockRector;
|
32 |
| -use Rector\PHPUnit\Set\PHPUnitLevelSetList; |
33 | 31 | use Rector\PHPUnit\Set\PHPUnitSetList;
|
34 | 32 | use Rector\Set\ValueObject\DowngradeLevelSetList;
|
35 | 33 | use Rector\Set\ValueObject\LevelSetList;
|
36 | 34 | use Rector\Set\ValueObject\SetList;
|
37 | 35 | use Rector\Strict\Rector\BooleanNot\BooleanInBooleanNotRuleFixerRector;
|
38 | 36 | use Rector\TypeDeclaration\Rector\ClassMethod\StrictArrayParamDimFetchRector;
|
| 37 | +use Rector\ValueObject\PhpVersion; |
39 | 38 |
|
40 | 39 | return static function (RectorConfig $rectorConfig): void {
|
41 | 40 | define('MHASH_XXH3', 2 << 0);
|
|
145 | 144 | SetList::EARLY_RETURN,
|
146 | 145 | SetList::INSTANCEOF,
|
147 | 146 |
|
148 |
| - PHPUnitLevelSetList::UP_TO_PHPUNIT_90, |
| 147 | + PHPUnitSetList::PHPUNIT_90, |
149 | 148 | PHPUnitSetList::PHPUNIT_CODE_QUALITY,
|
| 149 | + PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES, |
150 | 150 | ]);
|
151 | 151 |
|
152 | 152 | $rectorConfig->rules([
|
|
0 commit comments