FOSRestBundle icon indicating copy to clipboard operation
FOSRestBundle copied to clipboard

Fix deprecation in SF 6.1

Open raziel057 opened this issue 3 years ago • 0 comments

Fix the following deprecation:

The "FOS\RestBundle\Serializer\Normalizer\FormErrorNormalizer::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\RestBundle\Serializer\Normalizer\FlattenExceptionNormalizer" class implements "Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" that is deprecated since symfony/serializer 6.1, use NormalizerInterface instead.

raziel057 avatar May 31 '22 12:05 raziel057