From 5b832a97afdac15c6f6e84a7b988047e02206c39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 13:41:56 +0000 Subject: [PATCH 1/2] Update rector/rector requirement from ^1.0.0 to ^2.0.0 Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/1.0.0...2.0.0) --- updated-dependencies: - dependency-name: rector/rector dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index d3a9f74..44d9ebe 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "composer/composer": "^2.3", "maglnet/composer-require-checker": "^4.4", "phpunit/phpunit": "^9.5", - "rector/rector": "^1.0.0", + "rector/rector": "^2.0.0", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.24" From 8964041b9463705a550b9f49eade5986bac71431 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Thu, 12 Dec 2024 16:51:46 +0300 Subject: [PATCH 2/2] Update rector.php --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index ec2fa00..6481a87 100644 --- a/rector.php +++ b/rector.php @@ -5,7 +5,6 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; use Rector\Php71\Rector\FuncCall\RemoveExtraParametersRector; -use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\Set\ValueObject\LevelSetList; @@ -26,6 +25,5 @@ $rectorConfig->skip([ RemoveExtraParametersRector::class, ClosureToArrowFunctionRector::class, - JsonThrowOnErrorRector::class, ]); };