Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecation in SF 6.1 #2370

Closed
wants to merge 2 commits into from
Closed

Conversation

raziel057
Copy link

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 added 2 commits May 31, 2022 14:31
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.
Fix The "FOS\RestBundle\Serializer\Normalizer\FlattenExceptionNormalizer" class implements "Symfony\Component\Serializer\Normalizer\ContextAwareNormalizerInterface" that is deprecated since symfony/serializer 6.1, use NormalizerInterface instead.
@alexhaker
Copy link

Any updates on this?

@goetas
Copy link
Member

goetas commented Oct 23, 2022

could you please rebase and have pipelines green?

@deluxetom
Copy link
Contributor

@raziel057 I added your changes and fixed more deprecations in my PR #2377

do you mind reviewing it?

@goetas
Copy link
Member

goetas commented Jan 6, 2023

Done in #2377

@goetas goetas closed this Jan 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants