From 72211c9d0965d7fa310635e579628b8d6996bdee Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Fri, 18 Sep 2026 11:45:12 +0300 Subject: [PATCH] Remove `NullToStrictStringFuncCallArgRector` from rector rules list --- CHANGELOG.md | 3 ++- composer.json | 2 +- src/Rector/sets/yii-core.php | 2 -- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8a248eb..230e2e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ ## 1.1.1 under development -- no changes in this release. +- Chg #15: Remove `NullToStrictStringFuncCallArgRector` from `SetList::YII_CORE` skip list since it is never + registered by Rector (@vjik) ## 1.1.0 July 27, 2026 diff --git a/composer.json b/composer.json index 502fee7..6a0e380 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "php": "^7.4 || ^8.0", "friendsofphp/php-cs-fixer": "^3.92.5", - "rector/rector": "^2.0" + "rector/rector": "^2.6.7" }, "require-dev": { "phpunit/phpunit": "^9.6.31", diff --git a/src/Rector/sets/yii-core.php b/src/Rector/sets/yii-core.php index 763f758..24d5e79 100644 --- a/src/Rector/sets/yii-core.php +++ b/src/Rector/sets/yii-core.php @@ -5,7 +5,6 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; -use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Yiisoft\CodeStyle\Rector\Rules\RemoveOverrideAttributeRector; @@ -18,6 +17,5 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, ReadOnlyPropertyRector::class, - NullToStrictStringFuncCallArgRector::class, ]); };