Skip to content

Commit

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

build(deps-dev): update rector/rector requirement from 0.18.2 to 0.18.3
  • Loading branch information
samsonasik authored Sep 13, 2023
2 parents 7253a41 + a4ec34a commit 0690704
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"phpunit/phpcov": "^8.2",
"phpunit/phpunit": "^9.1",
"predis/predis": "^1.1 || ^2.0",
"rector/rector": "0.18.2",
"rector/rector": "0.18.3",
"vimeo/psalm": "^5.0"
},
"suggest": {
Expand Down
10 changes: 1 addition & 9 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\ConstructClassMethodToSetUpTestCaseRector;
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
use Rector\PHPUnit\Set\PHPUnitSetList;
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
Expand All @@ -57,7 +56,7 @@
PHPUnitSetList::PHPUNIT_100,
]);

$rectorConfig->parallel(240, 8, 1);
$rectorConfig->parallel();

// paths to refactor; solid alternative to CLI arguments
$rectorConfig->paths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils']);
Expand Down Expand Up @@ -89,13 +88,6 @@
__DIR__ . '/tests/system/Test/ReflectionHelperTest.php',
],

ConstructClassMethodToSetUpTestCaseRector::class => [
// breaks the constructor
__DIR__ . '/system/Test/TestResponse.php',
// See https://github.com/rectorphp/rector/issues/8188
__DIR__ . '/system/Test/ControllerResponse.php',
],

RemoveUnusedConstructorParamRector::class => [
// there are deprecated parameters
__DIR__ . '/system/Debug/Exceptions.php',
Expand Down

0 comments on commit 0690704

Please sign in to comment.