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

[Symfony Bridge] ArgumentValueResolverInterface is deprecated since Symfony 6.2 #203

Closed
IonBazan opened this issue Nov 9, 2022 · 2 comments

Comments

@IonBazan
Copy link
Contributor

IonBazan commented Nov 9, 2022

Following deprecation messages are produced when using elao/enum with Symfony 6.2 (beta):

The "Elao\Enum\Bridge\Symfony\HttpKernel\Controller\ArgumentResolver\BackedEnumValueResolver" class implements "Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface" that is deprecated since Symfony 6.2, implement ValueResolverInterface instead.

The "Elao\Enum\Bridge\Symfony\HttpKernel\Controller\ArgumentResolver\QueryBodyBackedEnumValueResolver" class implements "Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface" that is deprecated since Symfony 6.2, implement ValueResolverInterface instead.

@ogizanagi
Copy link
Member

Hmm, I already attempted to handle this in #198, but perhaps I missed something.
Did you try with the (yet) unreleased code?

composer require "elao/enum:^2.x-dev"

@IonBazan
Copy link
Contributor Author

IonBazan commented Nov 9, 2022

Yes, that works fine! Thanks!

@IonBazan IonBazan closed this as completed Nov 9, 2022
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

No branches or pull requests

2 participants