Updated Rector to commit 70b1985921960bb02afbbfe16870bee2605e43b3

70b1985921 [Transform] Allow transform disableParallel() to withoutParallel() on RectorConfigBuilderRector (#5640)
This commit is contained in:
Tomas Votruba 2024-02-20 14:56:13 +00:00
parent 8cf7f785b6
commit 7105619218
2 changed files with 8 additions and 3 deletions

View File

@ -94,8 +94,13 @@ CODE_SAMPLE
return null;
}
$args = $rectorConfigStmt->expr->getArgs();
$value = $args[0]->value;
$name = $this->getName($rectorConfigStmt->expr->name);
if ($name === 'disableParallel') {
$newExpr = $this->nodeFactory->createMethodCall($newExpr, 'withoutParallel');
$hasChanged = \true;
continue;
}
$value = $args[0]->value;
if ($name === 'rule') {
Assert::isAOf($rules, Array_::class);
$rules->items[] = new ArrayItem($value);

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '3eb1aa2fe0b96e96f4f56fae720159107f57e4ae';
public const PACKAGE_VERSION = '70b1985921960bb02afbbfe16870bee2605e43b3';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-02-19 23:59:57';
public const RELEASE_DATE = '2024-02-20 21:53:56';
/**
* @var int
*/