Skip to content

Commit

Permalink
Upgraded rector to 0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
rotimi committed Aug 29, 2023
1 parent 067b039 commit a42f46e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,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": {
Expand Down
4 changes: 2 additions & 2 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
//$services->set(TypedPropertyRector::class);

// get services (needed for register a single rule)
$services = $containerConfigurator->services();
//$services = $containerConfigurator->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);
};

0 comments on commit a42f46e

Please sign in to comment.