|
4 | 4 |
|
5 | 5 | use Rector\Config\RectorConfig; |
6 | 6 | use Rector\Naming\Rector\Class_\RenamePropertyToMatchTypeRector; |
7 | | -use Rector\Php74\Rector\LNumber\AddLiteralSeparatorToNumberRector; |
8 | 7 | use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitSelfCallRector; |
9 | 8 | use Rector\PHPUnit\CodeQuality\Rector\Class_\PreferPHPUnitThisCallRector; |
10 | 9 | use Rector\PHPUnit\Set\PHPUnitSetList; |
|
22 | 21 | $rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon.dist'); |
23 | 22 |
|
24 | 23 | $rectorConfig->sets([ |
25 | | - LevelSetList::UP_TO_PHP_82, |
| 24 | + LevelSetList::UP_TO_PHP_84, |
26 | 25 |
|
27 | 26 | PHPUnitSetList::PHPUNIT_40, |
28 | 27 | PHPUnitSetList::PHPUNIT_50, |
|
31 | 30 | PHPUnitSetList::PHPUNIT_80, |
32 | 31 | PHPUnitSetList::PHPUNIT_90, |
33 | 32 | PHPUnitSetList::PHPUNIT_100, |
| 33 | + PHPUnitSetList::PHPUNIT_110, |
| 34 | + PHPUnitSetList::PHPUNIT_120, |
34 | 35 | PHPUnitSetList::PHPUNIT_CODE_QUALITY, |
35 | 36 | PHPUnitSetList::ANNOTATIONS_TO_ATTRIBUTES, |
36 | 37 |
|
37 | 38 | SetList::CODE_QUALITY, |
38 | 39 | SetList::CODING_STYLE, |
39 | 40 | SetList::DEAD_CODE, |
40 | | - SetList::STRICT_BOOLEANS, |
41 | 41 | SetList::NAMING, |
42 | 42 | SetList::PRIVATIZATION, |
43 | 43 | SetList::TYPE_DECLARATION, |
|
46 | 46 | ]); |
47 | 47 |
|
48 | 48 | $rectorConfig->rules([ |
49 | | - AddLiteralSeparatorToNumberRector::class, |
50 | 49 | DeclareStrictTypesRector::class, |
51 | 50 | PreferPHPUnitSelfCallRector::class, |
52 | 51 | ]); |
|
0 commit comments