|
15 | 15 | use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector; |
16 | 16 | use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector; |
17 | 17 | use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector; |
| 18 | +use Rector\Php81\Rector\ClassMethod\NewInInitializerRector; |
| 19 | +use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector; |
| 20 | +use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector; |
| 21 | +use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector; |
| 22 | +use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; |
18 | 23 | use Rector\PHPUnit\Set\PHPUnitSetList; |
19 | 24 | use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector; |
20 | 25 | use Rector\Set\ValueObject\LevelSetList; |
21 | 26 | use Rector\Set\ValueObject\SetList; |
| 27 | +use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector; |
22 | 28 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
23 | 29 |
|
24 | 30 | return static function (ContainerConfigurator $containerConfigurator): void { |
25 | 31 | // include the latest PHP version + all bellow in one config! |
26 | | - $containerConfigurator->import(LevelSetList::UP_TO_PHP_80); |
| 32 | + $containerConfigurator->import(LevelSetList::UP_TO_PHP_81); |
27 | 33 |
|
28 | 34 | // include sets |
29 | 35 | $containerConfigurator->import(SetList::CODING_STYLE); |
|
87 | 93 | // @todo remove when enabling it on different PR |
88 | 94 | ArraySpreadInsteadOfArrayMergeRector::class, |
89 | 95 |
|
| 96 | + // temporary skip non finalize public class constant rector |
| 97 | + ReturnNeverTypeRector::class, |
| 98 | + MyCLabsMethodCallToEnumConstRector::class, |
| 99 | + ReadOnlyPropertyRector::class, |
| 100 | + Php81ResourceReturnToObjectRector::class, |
| 101 | + NewInInitializerRector::class, |
| 102 | + IntersectionTypesRector::class, |
| 103 | + |
90 | 104 | // test paths |
91 | 105 | '*/tests/**/Fixture/*', |
92 | 106 | '*/rules-tests/**/Fixture/*', |
|
0 commit comments