Skip to content

Commit 4308c0b

Browse files
authored
Merge pull request #8409 from codeigniter4/dependabot/composer/rector/rector-0.19.0
chore(deps-dev): update rector/rector requirement from 0.18.13 to 0.19.0
2 parents d64fdb5 + d5fb953 commit 4308c0b

5 files changed

+7
-7
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"phpunit/phpcov": "^8.2",
3535
"phpunit/phpunit": "^9.1",
3636
"predis/predis": "^1.1 || ^2.0",
37-
"rector/rector": "0.18.13",
37+
"rector/rector": "0.19.0",
3838
"vimeo/psalm": "^5.0"
3939
},
4040
"replace": {

rector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
PHPUnitSetList::PHPUNIT_100,
6060
]);
6161

62-
$rectorConfig->parallel();
62+
$rectorConfig->parallel(120);
6363

6464
// paths to refactor; solid alternative to CLI arguments
6565
$rectorConfig->paths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils']);

utils/Rector/PassStrictParameterToFunctionParameterRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
use PhpParser\Node\Expr\ConstFetch;
1919
use PhpParser\Node\Expr\FuncCall;
2020
use PhpParser\Node\Name;
21-
use Rector\Core\Rector\AbstractRector;
21+
use Rector\Rector\AbstractRector;
2222
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
2323
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
2424

utils/Rector/RemoveErrorSuppressInTryCatchStmtsRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use PhpParser\Node\Stmt\Function_;
2020
use PhpParser\Node\Stmt\TryCatch;
2121
use PhpParser\NodeTraverser;
22-
use Rector\Core\Rector\AbstractRector;
22+
use Rector\Rector\AbstractRector;
2323
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
2424
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
2525

utils/Rector/UnderscoreToCamelCaseVariableNameRector.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
use PhpParser\Node\Stmt\Function_;
2323
use PhpParser\Node\Stmt\Namespace_;
2424
use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory;
25-
use Rector\Core\Php\ReservedKeywordAnalyzer;
26-
use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace;
27-
use Rector\Core\Rector\AbstractRector;
25+
use Rector\Php\ReservedKeywordAnalyzer;
26+
use Rector\PhpParser\Node\CustomNode\FileWithoutNamespace;
27+
use Rector\Rector\AbstractRector;
2828
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
2929
use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;
3030

0 commit comments

Comments
 (0)