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

Deprecation in Symfony 6.4 #381

Closed
craigh opened this issue Dec 13, 2023 · 3 comments
Closed

Deprecation in Symfony 6.4 #381

craigh opened this issue Dec 13, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@craigh
Copy link

craigh commented Dec 13, 2023

Q A
auditor-bundle version dev-master
PHP version 8.2.13
Database MySQL 8

Summary

Since symfony/routing 6.4: The "routing.loader.annotation" service is deprecated, use the "routing.loader.attribute" service instead. It is being referenced by the "DH\AuditorBundle\Routing\RoutingAnnotationLoader" service.

Current behavior

How to reproduce

Expected behavior

@craigh craigh added the bug Something isn't working label Dec 13, 2023
@b1rdex
Copy link

b1rdex commented Dec 14, 2023

This deprecation makes \DH\AuditorBundle\Routing\RoutingAnnotationLoader unusable @ symfony 7

Cannot autowire service "DH\AuditorBundle\Routing\RoutingAnnotationLoader":
argument "$annotatedRouteController" of method "__construct()"
references class "Symfony\Bundle\FrameworkBundle\Routing\AnnotatedRouteControllerLoader"
but no such service exists.

UPD: I posted workaround for Symfony 7 compatibility in #382

@DamienHarper
Copy link
Owner

I close this issue since this should be fixed in master branch (PR #399).
Feel free to reopen if needed.

@craigh
Copy link
Author

craigh commented Jan 22, 2024

Thanks @DamienHarper Is a new release coming soon?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants