From d5fc12e08fc9182779acb94a17d18a4704a08309 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 17:20:51 +0300 Subject: [PATCH] Update rector/rector requirement from `1.0.*` to `^1.2` (#124) 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 1198927..ba38ff5 100644 --- a/composer.json +++ b/composer.json @@ -43,7 +43,7 @@ "maglnet/composer-require-checker": "^4.3", "nyholm/psr7": "^1.5", "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": "^4.30|^5.25", diff --git a/rector.php b/rector.php index c80d86e..f55daae 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\Set\ValueObject\LevelSetList; @@ -24,6 +23,5 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, - JsonThrowOnErrorRector::class, ]); };