Closed as not planned
Description
Symfony version(s) affected
6.0.5
Description
The signature of ParameterBag changed in version 6.0.5 (\UnitEnum
).
We are extending EnvPlaceholderParameterBag
and ParameterBag
(since the classes are not marked final) but the signature of some methods changed in a patch version which is a breaking change. Apparently it was introduced in #44868.
See: symfony/dependency-injection@v6.0.3...v6.0.5
How to reproduce
Extends "ParameterBag#set" using symfony/dependency-injection
v6.0.0, update to v6.0.5 and it will break.
Possible Solution
Use the phpdoc to have the updated signature.
Additional Context
No response