mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-05 02:40:50 +00:00
Updated Rector to commit 70b1985921960bb02afbbfe16870bee2605e43b3
70b1985921
[Transform] Allow transform disableParallel() to withoutParallel() on RectorConfigBuilderRector (#5640)
This commit is contained in:
parent
8cf7f785b6
commit
7105619218
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue
Block a user