Skip to content

Commit 752d0c8

Browse files
authored
Merge pull request #9826 from codeigniter4/dependabot/composer/rector/rector-2.2.14
chore(deps-dev): update rector/rector requirement from 2.2.11 to 2.2.14
2 parents a0874eb + e4583d4 commit 752d0c8

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"phpunit/phpcov": "^9.0.2 || ^10.0",
2929
"phpunit/phpunit": "^10.5.16 || ^11.2",
3030
"predis/predis": "^3.0",
31-
"rector/rector": "2.2.11",
31+
"rector/rector": "2.2.14",
3232
"shipmonk/phpstan-baseline-per-identifier": "^2.0"
3333
},
3434
"replace": {

rector.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
use Rector\EarlyReturn\Rector\If_\ChangeIfElseValueAssignToEarlyReturnRector;
3131
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
3232
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
33-
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
3433
use Rector\Php70\Rector\FuncCall\RandomFunctionRector;
3534
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
3635
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
@@ -216,8 +215,4 @@
216215
ClosureReturnTypeRector::class,
217216
AddArrowFunctionReturnTypeRector::class,
218217
])
219-
->withConfiguredRule(StringClassNameToClassConstantRector::class, [
220-
// keep '\\' prefix string on string '\Foo\Bar'
221-
StringClassNameToClassConstantRector::SHOULD_KEEP_PRE_SLASH => true,
222-
])
223218
->withCodeQualityLevel(61);

0 commit comments

Comments
 (0)