FriendsOfSymfony / FOSRestBundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony
http://symfony.com/doc/master/bundles/FOSRestBundle/index.html
MIT License
2.79k stars 708 forks source link

symfony/serializer 6.1 use NormalizerInterface instead. #2379

Closed Miller0 closed 1 year ago

Miller0 commented 1 year ago

https://github.com/FriendsOfSymfony/FOSRestBundle/blob/b888195589d245002880d07073ef23ab60e3795d/Serializer/Normalizer/FlattenExceptionNormalizer.php#L25

The "FOS\RestBundle\Serializer\Normalizer\FlattenExceptionNormalizer" class implements "Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" that is deprecated since symfony/serializer 6.1, use NormalizerInterface instead.

goetas commented 1 year ago

Done in https://github.com/FriendsOfSymfony/FOSRestBundle/pull/2377