From 40b99b0ac9a733bacd657a46ab8523d27a4f76bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 14:42:58 +0000 Subject: [PATCH 1/2] Update rector/rector requirement from ^0.17.7 to ^0.18.3 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/0.17.7...0.18.3) --- 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 7343016..4ade827 100644 --- a/composer.json +++ b/composer.json @@ -35,7 +35,7 @@ "maglnet/composer-require-checker": "^4.4", "nyholm/psr7": "^1.0", "phpunit/phpunit": "^9.5", - "rector/rector": "^0.17.7", + "rector/rector": "^0.18.3", "roave/infection-static-analysis-plugin": "^1.16", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^4.30|^5.13", From d487471c781834fd5277bd2482af2defdc751d4e Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Wed, 13 Sep 2023 17:53:05 +0300 Subject: [PATCH 2/2] fix --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index 20acccd..f55daae 100644 --- a/rector.php +++ b/rector.php @@ -4,7 +4,6 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; -use Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\Set\ValueObject\LevelSetList; @@ -24,6 +23,5 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, - AddDefaultValueForUndefinedVariableRector::class, ]); };