Skip to content

Commit 09c576d

Browse files
committed
Upgrade rector to v1
1 parent ee706c6 commit 09c576d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"require-dev": {
2121
"friendsofphp/php-cs-fixer": "^3.42",
2222
"phpunit/phpunit": "^10.5",
23-
"rector/rector": "^0.18",
23+
"rector/rector": "^1.0",
2424
"vimeo/psalm": "^5.18"
2525
},
2626
"autoload-dev": {

rector.php

-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
use Rector\Config\RectorConfig;
1111
use Rector\EarlyReturn\Rector\Return_\ReturnBinaryOrToEarlyReturnRector;
1212
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
13-
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
1413
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
1514
use Rector\Set\ValueObject\LevelSetList;
1615
use Rector\Set\ValueObject\SetList;
@@ -32,7 +31,6 @@
3231
ReadOnlyPropertyRector::class,
3332
CatchExceptionNameMatchingTypeRector::class,
3433
SplitDoubleAssignRector::class,
35-
FinalizePublicClassConstantRector::class,
3634
FlipTypeControlToUseExclusiveTypeRector::class,
3735
ReturnBinaryOrToEarlyReturnRector::class,
3836
LocallyCalledStaticMethodToNonStaticRector::class,

0 commit comments

Comments
 (0)