Skip to content

Commit 17c5564

Browse files
authored
Merge pull request #119 from codeigniter4/dependabot/composer/rector/rector-tw-0.18.3or-tw-0.19.0
chore(deps): update rector/rector requirement from ^0.18.3 to ^0.19.0
2 parents d835235 + c10c6a1 commit 17c5564

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"phpunit/phpunit": "^9.3",
3636
"roave/security-advisories": "dev-latest",
3737
"vimeo/psalm": "^5.0",
38-
"rector/rector": "^0.18.3"
38+
"rector/rector": "^0.19.0"
3939
},
4040
"require-dev": {
4141
"codeigniter4/framework": "^4.1",

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
2222
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2323
use Rector\Config\RectorConfig;
24-
use Rector\Core\ValueObject\PhpVersion;
2524
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
2625
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
2726
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
@@ -39,6 +38,7 @@
3938
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
4039
use Rector\TypeDeclaration\Rector\Empty_\EmptyOnNullableObjectToInstanceOfRector;
4140
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
41+
use Rector\ValueObject\PhpVersion;
4242

4343
return static function (RectorConfig $rectorConfig): void {
4444
$rectorConfig->sets([

src/Template/rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
use Rector\CodingStyle\Rector\ClassMethod\MakeInheritedMethodVisibilitySameAsParentRector;
2222
use Rector\CodingStyle\Rector\FuncCall\CountArrayToEmptyArrayComparisonRector;
2323
use Rector\Config\RectorConfig;
24-
use Rector\Core\ValueObject\PhpVersion;
2524
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPromotedPropertyRector;
2625
use Rector\EarlyReturn\Rector\Foreach_\ChangeNestedForeachIfsToEarlyContinueRector;
2726
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
@@ -39,6 +38,7 @@
3938
use Rector\Strict\Rector\Empty_\DisallowedEmptyRuleFixerRector;
4039
use Rector\TypeDeclaration\Rector\Empty_\EmptyOnNullableObjectToInstanceOfRector;
4140
use Rector\TypeDeclaration\Rector\Property\TypedPropertyFromAssignsRector;
41+
use Rector\ValueObject\PhpVersion;
4242

4343
return static function (RectorConfig $rectorConfig): void {
4444
$rectorConfig->sets([

0 commit comments

Comments
 (0)