Skip to content

Commit 1a07c04

Browse files
committed
clean rector.php
1 parent 170f083 commit 1a07c04

1 file changed

Lines changed: 0 additions & 19 deletions

File tree

rector.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,12 @@
1111
use Rector\Core\Configuration\Option;
1212
use Rector\Nette\Set\NetteSetList;
1313
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
14-
use Rector\Php74\Rector\FuncCall\ArraySpreadInsteadOfArrayMergeRector;
1514
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
1615
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;
2216
use Rector\PHPUnit\Set\PHPUnitSetList;
2317
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
2418
use Rector\Set\ValueObject\LevelSetList;
2519
use Rector\Set\ValueObject\SetList;
26-
use Rector\TypeDeclaration\Rector\ClassMethod\ReturnNeverTypeRector;
2720
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
2821

2922
return static function (ContainerConfigurator $containerConfigurator): void {
@@ -87,18 +80,6 @@
8780
MyCLabsClassToEnumRector::class,
8881
SpatieEnumClassToEnumRector::class,
8982

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-
10283
// test paths
10384
'*/tests/**/Fixture/*',
10485
'*/rules-tests/**/Fixture/*',

0 commit comments

Comments
 (0)