Skip to content

Commit

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

chore(deps-dev): update rector/rector requirement from 1.1.0 to 1.1.1
  • Loading branch information
samsonasik authored Jun 21, 2024
2 parents 72843e4 + b59bf02 commit 4c5ccc6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"codeigniter4/devkit": "^1.1.2",
"codeigniter4/framework": "^4.2.3",
"phpunit/phpunit": "^9.6",
"rector/rector": "1.1.0"
"rector/rector": "1.1.1"
},
"minimum-stability": "dev",
"prefer-stable": true,
Expand Down
4 changes: 1 addition & 3 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Set\ValueObject\LevelSetList;
Expand All @@ -31,7 +30,7 @@
use Rector\ValueObject\PhpVersion;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD, PHPUnitSetList::PHPUNIT_80]);
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_80]);
$rectorConfig->parallel();
// The paths to refactor (can also be supplied with CLI arguments)
$rectorConfig->paths([
Expand Down Expand Up @@ -63,7 +62,6 @@
$rectorConfig->skip([
__DIR__ . '/src/Views',

JsonThrowOnErrorRector::class,
StringifyStrNeedlesRector::class,

// Note: requires php 8
Expand Down

0 comments on commit 4c5ccc6

Please sign in to comment.