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

Fixed SF 6.3 deprecations for Normalizers #2388

Closed stollr closed 9 months ago

stollr commented 1 year ago

Classes that implement the Symfony\Component\Serializer\NormalizerInterface will require the getSupportedTypes method for Symfony >= 7.0 (see here).

Currently Symfony's phpunit-bridge reports deprecation messages.

I have added the required function for the FlattenExceptionNormalizer and the FormErrorNormalizer.

shakaran commented 11 months ago

Please @goetas or others, could be this merged soon? It is my only deprecation warning in several projects using Symfony 6.3. I will appreciate if this get merged. Thanks for your time and dedication.

deluxetom commented 9 months ago

@goetas please let us know if there's anything we can do to have those symfony 6.3 fixes merged

goetas commented 9 months ago

Done https://github.com/FriendsOfSymfony/FOSRestBundle/pull/2392