From 17d1a498fdb62adacda94a4a791879d2ff0871e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:09:08 +0000 Subject: [PATCH 1/2] chore(deps-dev): update rector/rector requirement from 1.2.9 to 1.2.10 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/1.2.9...1.2.10) --- 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 d98dacaaa..c776fb168 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "phpstan/extension-installer": "^1.3", "phpstan/phpstan-strict-rules": "^1.5", "phpunit/phpunit": "^9.6", - "rector/rector": "1.2.9" + "rector/rector": "1.2.10" }, "provide": { "codeigniter4/authentication-implementation": "1.0" From 6b43fa9845b02146e91cd2f739ac91c732824858 Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Fri, 8 Nov 2024 21:15:17 +0700 Subject: [PATCH 2/2] enable skipped NarrowUnusedSetUpDefinedPropertyRector --- rector.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/rector.php b/rector.php index d9e3e5d70..8185f4a71 100644 --- a/rector.php +++ b/rector.php @@ -45,7 +45,6 @@ use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector; use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector; use Rector\PHPUnit\AnnotationsToAttributes\Rector\Class_\AnnotationWithValueToAttributeRector; -use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector; use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector; use Rector\PHPUnit\Set\PHPUnitSetList; use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector; @@ -132,9 +131,6 @@ // To check old Email Config file __DIR__ . '/src/Commands/Setup.php', ], - - // buggy with default value - NarrowUnusedSetUpDefinedPropertyRector::class, ]); // auto import fully qualified class names