diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 7c988246006..5d3be8df3f4 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -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 */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 246165148db..6767850ce87 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -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);