From 77b409a2dee027c832e7afd335af3100b76f55c8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Dec 2024 12:53:55 +0300 Subject: [PATCH] Update rector/rector requirement from ^1.0.0 to ^2.0.3 (#337) 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 a1d1a40..ce45703 100644 --- a/composer.json +++ b/composer.json @@ -94,7 +94,7 @@ "codeception/module-phpbrowser": "^3.0", "maglnet/composer-require-checker": "^4.5", "phpunit/phpunit": "^9.5", - "rector/rector": "^1.0.0", + "rector/rector": "^2.0.3", "roave/infection-static-analysis-plugin": "^1.34", "roave/security-advisories": "dev-master", "spatie/phpunit-watcher": "^1.23", diff --git a/rector.php b/rector.php index 90fea6b..dd88e1b 100644 --- a/rector.php +++ b/rector.php @@ -4,7 +4,6 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; -use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Set\ValueObject\LevelSetList; @@ -25,7 +24,6 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, - JsonThrowOnErrorRector::class, ReadOnlyPropertyRector::class, ]); };