From ea72543ab9d54ff51555cfd20a59e9bbdde12613 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 7 Aug 2026 15:22:48 +0000 Subject: [PATCH 1/2] chore(deps-dev): update rector/rector requirement Updates the requirements on [rector/rector](https://github.com/rectorphp/rector) to permit the latest version. Updates `rector/rector` to 2.6.1 - [Release notes](https://github.com/rectorphp/rector/releases) - [Commits](https://github.com/rectorphp/rector/compare/2.5.9...2.6.1) --- updated-dependencies: - dependency-name: rector/rector dependency-version: 2.6.1 dependency-type: direct:development dependency-group: composer-dependencies ... Signed-off-by: dependabot[bot] --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 27b87b9e709c..b80db0577efe 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "phpunit/phpcov": "^9.0.2 || ^10.0", "phpunit/phpunit": "^10.5.16 || ^11.2", "predis/predis": "^3.0", - "rector/rector": "2.5.9", + "rector/rector": "2.6.1", "shipmonk/phpstan-baseline-per-identifier": "^2.0" }, "replace": { From c3766f8fd255da79d743059c5b1c700133ce5236 Mon Sep 17 00:00:00 2001 From: michalsn Date: Mon, 10 Aug 2026 15:57:17 +0200 Subject: [PATCH 2/2] remove deprecated rule --- rector.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/rector.php b/rector.php index 856952b19206..f1bc1ae27374 100644 --- a/rector.php +++ b/rector.php @@ -19,7 +19,6 @@ use Rector\CodeQuality\Rector\Isset_\IssetOnPropertyObjectToPropertyExistsRector; use Rector\CodingStyle\Rector\ClassMethod\FuncGetArgsToVariadicParamRector; use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector; -use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector; use Rector\CodingStyle\Rector\FuncCall\VersionCompareFuncCallToConstantRector; use Rector\Config\RectorConfig; use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector; @@ -182,7 +181,6 @@ SimplifyUselessVariableRector::class, RemoveAlwaysElseRector::class, PassStrictParameterToFunctionParameterRector::class, - CountArrayToEmptyArrayComparisonRector::class, ChangeNestedForeachIfsToEarlyContinueRector::class, ChangeIfElseValueAssignToEarlyReturnRector::class, PreparedValueToEarlyReturnRector::class,