Skip to content

Commit 5d4626d

Browse files
author
rotimi
committed
Upgraded rector to 0.18
1 parent 416526e commit 5d4626d

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"require-dev": {
1717
"phpunit/phpunit": "^9.0",
1818
"php-coveralls/php-coveralls": "^2.0",
19-
"rector/rector": "^0.17.0",
19+
"rector/rector": "^0.18.0",
2020
"vimeo/psalm": "^5.4"
2121
},
2222
"autoload": {

rector.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
declare(strict_types=1);
33

4-
use Rector\Php74\Rector\Property\TypedPropertyRector;
54
use Rector\Set\ValueObject\SetList;
65
use Rector\Config\RectorConfig;
76

@@ -41,8 +40,8 @@
4140
//$services->set(TypedPropertyRector::class);
4241

4342
// get services (needed for register a single rule)
44-
$services = $rectorConfigurator->services();
43+
//$services = $rectorConfigurator->services();
4544

4645
//TODO:PHP8 comment once PHP 8 becomes minimum version
47-
$services->remove(Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector::class);
46+
//$services->remove(Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector::class);
4847
};

0 commit comments

Comments
 (0)