Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Remove calls toAnnotationRegistry::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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Remove calls toAnnotationRegistry::registerLoader()#48725
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Uh oh!
There was an error while loading.Please reload this page.
derrabus commentedDec 20, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
The low-deps tests showed me that we should not backport. Registering We cannot anticipate if a codebase still has that |
28a7226 tocaf16edComparesrc/Symfony/Bundle/FrameworkBundle/Resources/config/annotations.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
caf16ed to066d851Compare066d851 toc0e9ee1Comparenicolas-grekas commentedDec 22, 2022
Thank you@derrabus. |
nicolas-grekas commentedDec 28, 2022
I reverted the part about phpunit-bridge in9f5c005 |
derrabus commentedDec 28, 2022
Fair enough, but the ORM bump in the root composer.json was still legit. Why did you revert it as well? |
nicolas-grekas commentedDec 28, 2022 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
By mistake, let me fix that. |
derrabus commentedDec 28, 2022
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.