Skip to content

Commit 52c74b5

Browse files
authored
Merge pull request #9257 from codeigniter4/dependabot/composer/rector/rector-1.2.9
chore(deps-dev): update rector/rector requirement from 1.2.8 to 1.2.9
2 parents 65872e5 + a933bf7 commit 52c74b5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
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": "^1.1 || ^2.0",
31-
"rector/rector": "1.2.8"
31+
"rector/rector": "1.2.9"
3232
},
3333
"replace": {
3434
"codeigniter4/framework": "self.version"

rector.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
4444
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
4545
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
46+
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
4647
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
4748
use Rector\PHPUnit\Set\PHPUnitSetList;
4849
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -176,6 +177,9 @@
176177

177178
// Unnecessary (string) is inserted
178179
NullToStrictStringFuncCallArgRector::class,
180+
181+
// buggy with default value
182+
NarrowUnusedSetUpDefinedPropertyRector::class,
179183
])
180184
// auto import fully qualified class names
181185
->withImportNames(removeUnusedImports: true)

0 commit comments

Comments
 (0)