[DependencyInjection] Anonymous services are not removed along with the parent service #30428
Labels
Bug
DependencyInjection
Good first issue
Ideal for your first contribution! (some Symfony experience may be required)
Help wanted
Issues and PRs which are looking for volunteers to complete them.
Status: Needs Review
Uh oh!
There was an error while loading. Please reload this page.
Description
When a definition is removed, I expect nested anonymous services to be removed as well:
How to reproduce
Extension:
Compiling the container without
option
results in:The text was updated successfully, but these errors were encountered: