Skip to content

Commit 328319a

Browse files
authored
[Rectify] [Php81] Enable Rectify on Intersection Type only (#1385)
1 parent 5b9b9a8 commit 328319a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

rector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector;
1616
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
1717
use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector;
18-
use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector;
1918
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
2019
use Rector\PHPUnit\Set\PHPUnitSetList;
2120
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
@@ -85,12 +84,11 @@
8584
MyCLabsClassToEnumRector::class,
8685
SpatieEnumClassToEnumRector::class,
8786

88-
// temporary skip non new in initialization rector
87+
// temporary skip non intersection type rector
8988
ReturnNeverTypeRector::class,
9089
FinalizePublicClassConstantRector::class,
9190
MyCLabsMethodCallToEnumConstRector::class,
9291
Php81ResourceReturnToObjectRector::class,
93-
IntersectionTypesRector::class,
9492

9593
// test paths
9694
'*/tests/**/Fixture/*',

0 commit comments

Comments
 (0)