Skip to content

Commit 674ee9b

Browse files
authored
Merge pull request #167 from codeigniter4/dependabot/composer/rector/rector-1.1.1
chore(deps-dev): update rector/rector requirement from 1.1.0 to 1.1.1
2 parents cfe39bb + 042c171 commit 674ee9b

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"require-dev": {
2626
"codeigniter4/devkit": "^1.0",
2727
"codeigniter4/framework": "^4.1",
28-
"rector/rector": "1.1.0"
28+
"rector/rector": "1.1.1"
2929
},
3030
"minimum-stability": "dev",
3131
"prefer-stable": true,

rector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,14 @@
3333
use Rector\EarlyReturn\Rector\If_\RemoveAlwaysElseRector;
3434
use Rector\EarlyReturn\Rector\Return_\PreparedValueToEarlyReturnRector;
3535
use Rector\Php55\Rector\String_\StringClassNameToClassConstantRector;
36-
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
3736
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
3837
use Rector\PHPUnit\Set\PHPUnitSetList;
3938
use Rector\Set\ValueObject\LevelSetList;
4039
use Rector\Set\ValueObject\SetList;
4140
use Rector\ValueObject\PhpVersion;
4241

4342
return static function (RectorConfig $rectorConfig): void {
44-
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_SPECIFIC_METHOD, PHPUnitSetList::PHPUNIT_80]);
43+
$rectorConfig->sets([SetList::DEAD_CODE, LevelSetList::UP_TO_PHP_74, PHPUnitSetList::PHPUNIT_80]);
4544
$rectorConfig->parallel();
4645
// The paths to refactor (can also be supplied with CLI arguments)
4746
$rectorConfig->paths([
@@ -73,7 +72,6 @@
7372
$rectorConfig->skip([
7473
__DIR__ . '/src/Views',
7574

76-
JsonThrowOnErrorRector::class,
7775
StringifyStrNeedlesRector::class,
7876

7977
// Note: requires php 8

0 commit comments

Comments
 (0)