From e41705aa94b5dbb6f1a1b7d9ad1cc86e3d64baed Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 26 Jan 2024 22:36:43 +0000 Subject: [PATCH] Updated Rector to commit a6ace939a0cbccd31623d3e18677ea8791e69aab https://github.com/rectorphp/rector-src/commit/a6ace939a0cbccd31623d3e18677ea8791e69aab [Configuration] Use array_merge() on RectorCnofigBuilder::withSets() (#5507) --- src/Application/VersionResolver.php | 4 ++-- src/Configuration/RectorConfigBuilder.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index bfa8736f5a0..3950dda9fc8 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 = 'a69e1ff013720727f052437d051ca5ab2c11b89e'; + public const PACKAGE_VERSION = 'a6ace939a0cbccd31623d3e18677ea8791e69aab'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-01-26 21:40:53'; + public const RELEASE_DATE = '2024-01-27 05:34:41'; /** * @var int */ diff --git a/src/Configuration/RectorConfigBuilder.php b/src/Configuration/RectorConfigBuilder.php index 63267395581..67f46b8a446 100644 --- a/src/Configuration/RectorConfigBuilder.php +++ b/src/Configuration/RectorConfigBuilder.php @@ -210,7 +210,7 @@ final class RectorConfigBuilder */ public function withSets(array $sets) : self { - $this->sets = $sets; + $this->sets = \array_merge($this->sets, $sets); return $this; } public function withPreparedSets(bool $deadCode = \false, bool $codeQuality = \false, bool $codingStyle = \false, bool $typeDeclarations = \false, bool $privatization = \false, bool $naming = \false, bool $instanceOf = \false, bool $earlyReturn = \false, bool $strictBooleans = \false) : self