Closed
Description
Symfony version(s) affected
7.1
Description
We were trying to update the Symfony version to 7.1 and noticed that name converting isn't working correctly for us.
We found out that the issue was caused by the removal of the interface AdvancedNameConverterInterface
in MetadataAwareNameConverter
here.
As I understand, removing interface implementation from a class is a breaking change and shouldn't be introduced in a minor version.
Generally, it wouldn't cause problems, but for us it did because we are decorating NameConverterInterface
and we were explicitly checking $this->decoratedNameConverter instanceof AdvancedNameConverterInterface
How to reproduce
N/A
Possible Solution
Add AdvancedNameConverterInterface
back to MetadataAwareNameConverter
Additional Context
No response