From a14ff93dec418441b8fae7d8e3f4ce3af23da908 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Mon, 12 Feb 2024 08:59:42 +0000 Subject: [PATCH] Updated Rector to commit 5dd8a4b14f4f4d2717565b41da544775a61e350c https://github.com/rectorphp/rector-src/commit/5dd8a4b14f4f4d2717565b41da544775a61e350c remove duplicated line --- src/Application/VersionResolver.php | 4 ++-- src/Config/RectorConfig.php | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 07d9f8c5d96..56ce29aac1c 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 = '6c7dbaad0ab67dd06cef9237fab3728ae4f23e9a'; + public const PACKAGE_VERSION = '5dd8a4b14f4f4d2717565b41da544775a61e350c'; /** * @api * @var string */ - public const RELEASE_DATE = '2024-02-12 08:54:53'; + public const RELEASE_DATE = '2024-02-12 09:57:54'; /** * @var int */ diff --git a/src/Config/RectorConfig.php b/src/Config/RectorConfig.php index 6cc0c06cb8f..4b28f004782 100644 --- a/src/Config/RectorConfig.php +++ b/src/Config/RectorConfig.php @@ -172,8 +172,6 @@ final class RectorConfig extends Container $this->tag($rectorClass, RectorInterface::class); // for cache invalidation in case of change SimpleParameterProvider::addParameter(Option::REGISTERED_RECTOR_RULES, $rectorClass); - // for cache invalidation in case of change - SimpleParameterProvider::addParameter(Option::REGISTERED_RECTOR_RULES, $rectorClass); if (\is_a($rectorClass, RelatedConfigInterface::class, \true)) { $configFile = $rectorClass::getConfigFile(); Assert::file($configFile, \sprintf('The config path "%s" in "%s::getConfigFile()" could not be found', $configFile, $rectorClass));