pimcore icon indicating copy to clipboard operation
pimcore copied to clipboard

Fix Psr\Container\ContainerInterface injection to Symfony\Component\DependencyInjection\ContainerInterface Rest Deprecations...

Open fashxp opened this issue 2 years ago • 2 comments

Improvement description

...

fashxp avatar Jul 28 '22 08:07 fashxp

@fashxp

There are multiple cases where the Psr\Container\ContainerInterface resolves to Symfony\Component\DependencyInjection\Argument\ServiceLocator which does not implement the Symfony\Coponent\DependencyInjection\ContainerInterface but relies on the Psr\Container\ContainerInterface.

What should be done for such service locators?

aashan10 avatar Aug 03 '22 04:08 aashan10

@aashan10 it's about fixing deprecations, right? What does Symfony suggests here?

brusch avatar Aug 05 '22 10:08 brusch