Skip to content

Commit 0690704

Browse files
authored
Merge pull request #7939 from codeigniter4/dependabot/composer/rector/rector-0.18.3
build(deps-dev): update rector/rector requirement from 0.18.2 to 0.18.3
2 parents 7253a41 + a4ec34a commit 0690704

2 files changed

Lines changed: 2 additions & 10 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"phpunit/phpcov": "^8.2",
3434
"phpunit/phpunit": "^9.1",
3535
"predis/predis": "^1.1 || ^2.0",
36-
"rector/rector": "0.18.2",
36+
"rector/rector": "0.18.3",
3737
"vimeo/psalm": "^5.0"
3838
},
3939
"suggest": {

rector.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
use Rector\Php71\Rector\FuncCall\CountOnNullRector;
3939
use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector;
4040
use Rector\Php73\Rector\FuncCall\StringifyStrNeedlesRector;
41-
use Rector\PHPUnit\CodeQuality\Rector\Class_\ConstructClassMethodToSetUpTestCaseRector;
4241
use Rector\PHPUnit\CodeQuality\Rector\Class_\YieldDataProviderRector;
4342
use Rector\PHPUnit\Set\PHPUnitSetList;
4443
use Rector\Privatization\Rector\Property\PrivatizeFinalClassPropertyRector;
@@ -57,7 +56,7 @@
5756
PHPUnitSetList::PHPUNIT_100,
5857
]);
5958

60-
$rectorConfig->parallel(240, 8, 1);
59+
$rectorConfig->parallel();
6160

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

92-
ConstructClassMethodToSetUpTestCaseRector::class => [
93-
// breaks the constructor
94-
__DIR__ . '/system/Test/TestResponse.php',
95-
// See https://github.com/rectorphp/rector/issues/8188
96-
__DIR__ . '/system/Test/ControllerResponse.php',
97-
],
98-
9991
RemoveUnusedConstructorParamRector::class => [
10092
// there are deprecated parameters
10193
__DIR__ . '/system/Debug/Exceptions.php',

0 commit comments

Comments
 (0)