|
11 | 11 | use Rector\Core\Configuration\Option; |
12 | 12 | use Rector\Nette\Set\NetteSetList; |
13 | 13 | use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector; |
14 | | -use Rector\Php74\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector; |
15 | 14 | use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector; |
16 | 15 | use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector; |
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 | 16 | use Rector\PHPUnit\Set\PHPUnitSetList; |
23 | 17 | use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector; |
24 | 18 | use Rector\Set\ValueObject\LevelSetList; |
25 | 19 | use Rector\Set\ValueObject\SetList; |
26 | | -use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector; |
27 | 20 | use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; |
28 | 21 |
|
29 | 22 | return static function (ContainerConfigurator $containerConfigurator): void { |
|
87 | 80 | MyCLabsClassToEnumRector::class, |
88 | 81 | SpatieEnumClassToEnumRector::class, |
89 | 82 |
|
90 | | - // temporary skip it to avoid unrelated change string key array unpack on php 8.1 PR https://github.com/rectorphp/rector-src/pull/1380 |
91 | | - // @todo remove when enabling it on different PR |
92 | | - ArraySpreadInsteadOfArrayMergeRector::class, |
93 | | - |
94 | | - // temporary skip non readonly property rector |
95 | | - ReturnNeverTypeRector::class, |
96 | | - FinalizePublicClassConstantRector::class, |
97 | | - MyCLabsMethodCallToEnumConstRector::class, |
98 | | - Php81ResourceReturnToObjectRector::class, |
99 | | - NewInInitializerRector::class, |
100 | | - IntersectionTypesRector::class, |
101 | | - |
102 | 83 | // test paths |
103 | 84 | '*/tests/**/Fixture/*', |
104 | 85 | '*/rules-tests/**/Fixture/*', |
|
0 commit comments