Skip to content

Commit c8f5dae

Browse files
authored
Add back RectorConfig::tag() as a no-op BC layer (#8431)
1 parent 0919678 commit c8f5dae

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎src/Config/RectorConfig.php‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,18 @@ public function editorUrl(string $editorUrl): void
607607
SimpleParameterProvider::setParameter(Option::EDITOR_URL, $editorUrl);
608608
}
609609

610+
/**
611+
* Backward-compatibility no-op. The former illuminate/container exposed tag()/tagged();
612+
* the entropy container discovers services by contract, so tagging is not needed.
613+
*
614+
* @deprecated Tagging is no longer used, services are discovered by contract. The call is ignored.
615+
* @param string|string[] $abstracts
616+
* @param string|string[] $tags
617+
*/
618+
public function tag(array|string $abstracts, array|string $tags): void
619+
{
620+
}
621+
610622
/**
611623
* @internal Used only for bridge
612624
* @return array<class-string<ConfigurableRectorInterface>, mixed>

0 commit comments

Comments
 (0)