diff --git a/composer.json b/composer.json index ee22d5b..4a5b3c5 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "require-dev": { "phpunit/phpunit": "^9.0", "php-coveralls/php-coveralls": "^2.0", - "rector/rector": "^0.17.0", + "rector/rector": "^0.18.0", "vimeo/psalm": "^5.4" }, "autoload": { diff --git a/rector.php b/rector.php index 064456b..6585e7b 100644 --- a/rector.php +++ b/rector.php @@ -1,7 +1,6 @@ set(TypedPropertyRector::class); // get services (needed for register a single rule) - $services = $rectorConfigurator->services(); + //$services = $rectorConfigurator->services(); //TODO:PHP8 comment once PHP 8 becomes minimum version - $services->remove(Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector::class); + //$services->remove(Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector::class); };