|
2 | 2 |
|
3 | 3 | declare(strict_types=1);
|
4 | 4 |
|
5 |
| -use Rector\CodeQuality\Rector\FuncCall\BoolvalToTypeCastRector; |
6 |
| -use Rector\CodeQuality\Rector\FuncCall\FloatvalToTypeCastRector; |
7 |
| -use Rector\CodeQuality\Rector\FuncCall\IntvalToTypeCastRector; |
8 |
| -use Rector\CodeQuality\Rector\FuncCall\StrvalToTypeCastRector; |
9 | 5 | use Rector\CodingStyle\Rector\Catch_\CatchExceptionNameMatchingTypeRector;
|
10 |
| -use Rector\CodingStyle\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector; |
11 | 6 | use Rector\CodingStyle\Rector\Stmt\NewlineAfterStatementRector;
|
12 | 7 | use Rector\Config\RectorConfig;
|
13 |
| -use Rector\EarlyReturn\Rector\If_\ChangeAndIfToEarlyReturnRector; |
14 | 8 | use Rector\EarlyReturn\Rector\If_\ChangeOrIfContinueToMultiContinueRector;
|
15 | 9 | use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
|
16 | 10 | use Rector\Php81\Rector\Array_\FirstClassCallableRector;
|
|
41 | 35 | PHPUnitSetList::PHPUNIT_80,
|
42 | 36 | PHPUnitSetList::PHPUNIT_90,
|
43 | 37 | PHPUnitSetList::PHPUNIT_100,
|
| 38 | + PHPUnitSetList::PHPUNIT_110, |
44 | 39 | ])
|
45 | 40 | ->withRules([
|
46 |
| - BoolvalToTypeCastRector::class, |
47 |
| - FloatvalToTypeCastRector::class, |
48 |
| - IntvalToTypeCastRector::class, |
49 |
| - StrvalToTypeCastRector::class, |
50 | 41 | ReadOnlyClassRector::class,
|
51 | 42 | ReadOnlyPropertyRector::class,
|
52 | 43 | ])
|
53 | 44 | ->withSkip([
|
54 |
| - ArraySpreadInsteadOfArrayMergeRector::class, |
55 | 45 | CatchExceptionNameMatchingTypeRector::class,
|
56 |
| - ChangeAndIfToEarlyReturnRector::class, |
57 | 46 | ChangeOrIfContinueToMultiContinueRector::class,
|
58 | 47 | ClosureToArrowFunctionRector::class,
|
59 | 48 | FirstClassCallableRector::class,
|
|
0 commit comments