diff --git a/composer.json b/composer.json index eba55c9..43ec767 100644 --- a/composer.json +++ b/composer.json @@ -49,7 +49,7 @@ "maglnet/composer-require-checker": "^3.8|^4.2", "nyholm/psr7": "^1.3", "phpunit/phpunit": "^9.5", - "rector/rector": "^1.2", + "rector/rector": "^2.0", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.24", diff --git a/rector.php b/rector.php index 95bde68..b4b9e11 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, ]); };