Skip to content

Commit

Permalink
Merge pull request #9257 from codeigniter4/dependabot/composer/rector…
Browse files Browse the repository at this point in the history
…/rector-1.2.9

chore(deps-dev): update rector/rector requirement from 1.2.8 to 1.2.9
  • Loading branch information
samsonasik authored Nov 5, 2024
2 parents 65872e5 + a933bf7 commit 52c74b5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"phpunit/phpcov": "^9.0.2 || ^10.0",
"phpunit/phpunit": "^10.5.16 || ^11.2",
"predis/predis": "^1.1 || ^2.0",
"rector/rector": "1.2.8"
"rector/rector": "1.2.9"
},
"replace": {
"codeigniter4/framework": "self.version"
Expand Down
4 changes: 4 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
use Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector;
use Rector\Php80\Rector\FunctionLike\MixedTypeRector;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\NarrowUnusedSetUpDefinedPropertyRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
Expand Down Expand Up @@ -176,6 +177,9 @@

// Unnecessary (string) is inserted
NullToStrictStringFuncCallArgRector::class,

// buggy with default value
NarrowUnusedSetUpDefinedPropertyRector::class,
])
// auto import fully qualified class names
->withImportNames(removeUnusedImports: true)
Expand Down

0 comments on commit 52c74b5

Please sign in to comment.