Skip to content

Commit

Permalink
fix config for configured rule
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Feb 12, 2024
1 parent 5dd8a4b commit 5edb023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Config/RectorConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5edb023

Please sign in to comment.