Skip to content

Commit 7611c4a

Browse files
committed
up to php 8.0 with add FinalizePublicClassConstantRector
1 parent 26166bd commit 7611c4a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
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;
1415
use Rector\Php81\Rector\Class_\MyCLabsClassToEnumRector;
1516
use Rector\Php81\Rector\Class_\SpatieEnumClassToEnumRector;
16-
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
1717
use Rector\Php81\Rector\FuncCall\Php81ResourceReturnToObjectRector;
1818
use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector;
1919
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
20+
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
2021
use Rector\PHPUnit\Set\PHPUnitSetList;
2122
use Rector\Privatization\Rector\Class_\FinalizeClassesWithoutChildrenRector;
2223
use Rector\Set\ValueObject\LevelSetList;
@@ -85,9 +86,8 @@
8586
MyCLabsClassToEnumRector::class,
8687
SpatieEnumClassToEnumRector::class,
8788

88-
// temporary skip non new in initialization rector
89+
// temporary skip non finalize public class constant rector
8990
ReturnNeverTypeRector::class,
90-
FinalizePublicClassConstantRector::class,
9191
MyCLabsMethodCallToEnumConstRector::class,
9292
Php81ResourceReturnToObjectRector::class,
9393
IntersectionTypesRector::class,

0 commit comments

Comments
 (0)