FriendsOfSymfony / FOSJsRoutingBundle

A pretty nice way to expose your Symfony routing to client applications.
1.48k stars 261 forks source link

Fix SF6.1 deprecations #438

Closed raziel057 closed 2 years ago

raziel057 commented 2 years ago

Fixes deprecation in Normalizer / Denormalizer:

The "FOS\JsRoutingBundle\Serializer\Normalizer\RouteCollectionNormalizer::supportsNormalization()" method will require a new "array $context" argument in the next major version of its interface "Symfony\Component\Serializer\Normalizer\NormalizerInterface", not defining it is deprecated.

The "FOS\JsRoutingBundle\Serializer\Normalizer\RoutesResponseNormalizer::supportsNormalization()" method will require a new "array $context" argument in the next major version of its interface "Symfony\Component\Serializer\Normalizer\NormalizerInterface", not defining it is deprecated.

The "FOS\JsRoutingBundle\Serializer\Denormalizer\RouteCollectionDenormalizer::supportsDenormalization()" method will require a new "array $context" argument in the next major version of its interface "Symfony\Component\Serializer\Normalizer\DenormalizerInterface", not defining it is deprecated.

tobias-93 commented 2 years ago

Included in #439, thanks!