mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 14:03:41 +01:00
Updated Rector to commit b523b734e052b47d756330e7deeaa68372fbd494
b523b734e0
[Configuration] Fix parallel config always replaced by next config per-default true (#5683)
This commit is contained in:
parent
7596fa6da0
commit
4fdf5d4ab4
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = '1.0.2';
|
||||
public const PACKAGE_VERSION = 'b523b734e052b47d756330e7deeaa68372fbd494';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-03-03 09:40:51';
|
||||
public const RELEASE_DATE = '2024-03-04 03:44:29';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -66,10 +66,9 @@ final class RectorConfigBuilder
|
||||
*/
|
||||
private $containerCacheDirectory;
|
||||
/**
|
||||
* Enabled by default
|
||||
* @var bool
|
||||
* @var bool|null
|
||||
*/
|
||||
private $parallel = \true;
|
||||
private $parallel;
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
@ -222,10 +221,12 @@ final class RectorConfigBuilder
|
||||
if ($this->phpVersion !== null) {
|
||||
$rectorConfig->phpVersion($this->phpVersion);
|
||||
}
|
||||
if ($this->parallel) {
|
||||
$rectorConfig->parallel($this->parallelTimeoutSeconds, $this->parallelMaxNumberOfProcess, $this->parallelJobSize);
|
||||
} else {
|
||||
$rectorConfig->disableParallel();
|
||||
if ($this->parallel !== null) {
|
||||
if ($this->parallel) {
|
||||
$rectorConfig->parallel($this->parallelTimeoutSeconds, $this->parallelMaxNumberOfProcess, $this->parallelJobSize);
|
||||
} else {
|
||||
$rectorConfig->disableParallel();
|
||||
}
|
||||
}
|
||||
if ($this->symfonyContainerXmlFile !== null) {
|
||||
$rectorConfig->symfonyContainerXml($this->symfonyContainerXmlFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user