Skip to content

Commit b84030e

Browse files
author
Kirill Nesmeyanov
committed
Upgrade rector to v1
1 parent ec25280 commit b84030e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"friendsofphp/php-cs-fixer": "^3.42",
2828
"phplrt/compiler": "^3.6",
2929
"phpunit/phpunit": "^10.5",
30-
"rector/rector": "^0.18",
30+
"rector/rector": "^1.0",
3131
"symfony/var-dumper": "^5.6|^6.0|^7.0",
3232
"vimeo/psalm": "^5.18"
3333
},

rector.php

Lines changed: 0 additions & 2 deletions
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)