diff --git a/composer.json b/composer.json index 34178265c11c..af7aa5484c9a 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "phpunit/phpcov": "^9.0.2 || ^10.0", "phpunit/phpunit": "^10.5.16 || ^11.2", "predis/predis": "^1.1 || ^2.0", - "rector/rector": "1.2.9" + "rector/rector": "1.2.10" }, "replace": { "codeigniter4/framework": "self.version" diff --git a/rector.php b/rector.php index 6a4a37835fc4..be9e45f1e169 100644 --- a/rector.php +++ b/rector.php @@ -43,7 +43,6 @@ use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector; use Rector\Php80\Rector\FunctionLike\MixedTypeRector; use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector; -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; @@ -177,9 +176,6 @@ // Unnecessary (string) is inserted NullToStrictStringFuncCallArgRector::class, - - // buggy with default value - NarrowUnusedSetUpDefinedPropertyRector::class, ]) // auto import fully qualified class names ->withImportNames(removeUnusedImports: true)