Skip to content

Commit

Permalink
Upgrade rector to v1
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Mar 1, 2024
1 parent ee706c6 commit 09c576d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.42",
"phpunit/phpunit": "^10.5",
"rector/rector": "^0.18",
"rector/rector": "^1.0",
"vimeo/psalm": "^5.18"
},
"autoload-dev": {
Expand Down
2 changes: 0 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
use Rector\Config\RectorConfig;
use Rector\EarlyReturn\Rector\Return_\ReturnBinaryOrToEarlyReturnRector;
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
use Rector\Set\ValueObject\LevelSetList;
use Rector\Set\ValueObject\SetList;
Expand All @@ -32,7 +31,6 @@
ReadOnlyPropertyRector::class,
CatchExceptionNameMatchingTypeRector::class,
SplitDoubleAssignRector::class,
FinalizePublicClassConstantRector::class,
FlipTypeControlToUseExclusiveTypeRector::class,
ReturnBinaryOrToEarlyReturnRector::class,
LocallyCalledStaticMethodToNonStaticRector::class,
Expand Down

0 comments on commit 09c576d

Please sign in to comment.