From 5edb023974a55b0efee74dd9fe92b314dd521f2c Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Mon, 12 Feb 2024 09:59:33 +0100 Subject: [PATCH] fix config for configured rule --- src/Config/RectorConfig.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Config/RectorConfig.php b/src/Config/RectorConfig.php index de3d8ede19f..da3b6efceff 100644 --- a/src/Config/RectorConfig.php +++ b/src/Config/RectorConfig.php @@ -185,8 +185,7 @@ public function ruleWithConfiguration(string $rectorClass, array $configuration) $configuration ); - $this->singleton($rectorClass); - $this->tag($rectorClass, RectorInterface::class); + $this->rule($rectorClass); $this->afterResolving($rectorClass, function (ConfigurableRectorInterface $configurableRector) use ( $rectorClass