From 7b9177607eb4af4fb7663651dbcf3723553d07f7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 2 Aug 2024 10:35:32 +0300 Subject: [PATCH] Update rector/rector requirement from 1.0.* to 1.2.* (#739) Co-authored-by: Sergei Predvoditelev --- composer.json | 2 +- rector.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 950311b6a..a7cc8341a 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 33c9c8517..f55daaed4 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, ]); };