-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Remove calls to AnnotationRegistry::registerLoader()
#48725
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
Remove calls to AnnotationRegistry::registerLoader()
#48725
Conversation
The low-deps tests showed me that we should not backport. Registering We cannot anticipate if a codebase still has that |
28a7226
to
caf16ed
Compare
src/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.php
Outdated
Show resolved
Hide resolved
caf16ed
to
066d851
Compare
066d851
to
c0e9ee1
Compare
Thank you @derrabus. |
…try::registerLoader()`"
I reverted the part about phpunit-bridge in 9f5c005 |
Fair enough, but the ORM bump in the root composer.json was still legit. Why did you revert it as well? |
By mistake, let me fix that. |
Thanks! |
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
…onRegistry::registerLoader()`"
Calling
AnnotationRegistry::registerLoader()
should not be necessary anymore since Annotations 1.10 (April 2020), as long as all annotations are autoloadable. Let's remove all calls to that method.