Closed
Description
Commit symfony/dependency-injection@ec7e70f by @nicolas-grekas introduced additional check, which from my understanding should prevent adding DefinitionDecorator
services definitions. However the way this bug was fixed also breaks all implementations where Definition
is extended by custom class. The example use case in my code is adding some strict checks for parameters of service.
In my opinion it should specifically check for DefinitionDecorator
.