diff --git a/composer.json b/composer.json index 950311b6..a7cc8341 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ "maglnet/composer-require-checker": "^4.3", "phpbench/phpbench": "^1.2", "phpunit/phpunit": "^9.5", - "rector/rector": "1.0.*", + "rector/rector": "^1.2", "roave/infection-static-analysis-plugin": "^1.25", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^5.24", diff --git a/rector.php b/rector.php index 33c9c851..f55daaed 100644 --- a/rector.php +++ b/rector.php @@ -6,7 +6,6 @@ use Rector\Config\RectorConfig; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\Set\ValueObject\LevelSetList; -use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; return static function (RectorConfig $rectorConfig): void { $rectorConfig->paths([ @@ -24,6 +23,5 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, - ReadOnlyPropertyRector::class, ]); };