Skip to content

Commit

Permalink
Merge pull request #90 from codeigniter4/dependabot/composer/rector/r…
Browse files Browse the repository at this point in the history
…ector-0.17.12

chore(deps-dev): update rector/rector requirement from 0.17.10 to 0.17.12
  • Loading branch information
samsonasik authored Aug 11, 2023
2 parents f4f5d25 + d666c99 commit f152d3d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"require-dev": {
"codeigniter4/devkit": "^1.0",
"codeigniter4/framework": "^4.2.3",
"rector/rector": "0.17.10"
"rector/rector": "0.17.12"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
4 changes: 0 additions & 4 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\Php56\Rector\FunctionLike\AddDefaultValueForUndefinedVariableRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
Expand Down Expand Up @@ -72,9 +71,6 @@

// May load view files directly when detecting classes
StringClassNameToClassConstantRector::class,

// May be uninitialized on purpose
AddDefaultValueForUndefinedVariableRector::class,
]);
$rectorConfig->rule(SimplifyUselessVariableRector::class);
$rectorConfig->rule(RemoveAlwaysElseRector::class);
Expand Down

0 comments on commit f152d3d

Please sign in to comment.