diff --git a/composer.json b/composer.json index 605cd190e89f..00d4d9275a6a 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "phpunit/phpcov": "^8.2", "phpunit/phpunit": "^9.1", "predis/predis": "^1.1 || ^2.0", - "rector/rector": "0.18.13", + "rector/rector": "0.19.0", "vimeo/psalm": "^5.0" }, "replace": { diff --git a/rector.php b/rector.php index 5be63b31e59d..7cf424f73e88 100644 --- a/rector.php +++ b/rector.php @@ -59,7 +59,7 @@ PHPUnitSetList::PHPUNIT_100, ]); - $rectorConfig->parallel(); + $rectorConfig->parallel(120); // paths to refactor; solid alternative to CLI arguments $rectorConfig->paths([__DIR__ . '/app', __DIR__ . '/system', __DIR__ . '/tests', __DIR__ . '/utils']); diff --git a/utils/Rector/PassStrictParameterToFunctionParameterRector.php b/utils/Rector/PassStrictParameterToFunctionParameterRector.php index c6e92bb9d418..14b1a840e60b 100644 --- a/utils/Rector/PassStrictParameterToFunctionParameterRector.php +++ b/utils/Rector/PassStrictParameterToFunctionParameterRector.php @@ -18,7 +18,7 @@ use PhpParser\Node\Expr\ConstFetch; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Name; -use Rector\Core\Rector\AbstractRector; +use Rector\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; diff --git a/utils/Rector/RemoveErrorSuppressInTryCatchStmtsRector.php b/utils/Rector/RemoveErrorSuppressInTryCatchStmtsRector.php index 06c8ca39de4d..5bdd8ed8bb7b 100644 --- a/utils/Rector/RemoveErrorSuppressInTryCatchStmtsRector.php +++ b/utils/Rector/RemoveErrorSuppressInTryCatchStmtsRector.php @@ -19,7 +19,7 @@ use PhpParser\Node\Stmt\Function_; use PhpParser\Node\Stmt\TryCatch; use PhpParser\NodeTraverser; -use Rector\Core\Rector\AbstractRector; +use Rector\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; diff --git a/utils/Rector/UnderscoreToCamelCaseVariableNameRector.php b/utils/Rector/UnderscoreToCamelCaseVariableNameRector.php index 4af0be534e61..23035e7bee46 100644 --- a/utils/Rector/UnderscoreToCamelCaseVariableNameRector.php +++ b/utils/Rector/UnderscoreToCamelCaseVariableNameRector.php @@ -22,9 +22,9 @@ use PhpParser\Node\Stmt\Function_; use PhpParser\Node\Stmt\Namespace_; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; -use Rector\Core\Php\ReservedKeywordAnalyzer; -use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace; -use Rector\Core\Rector\AbstractRector; +use Rector\Php\ReservedKeywordAnalyzer; +use Rector\PhpParser\Node\CustomNode\FileWithoutNamespace; +use Rector\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition;