-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ClassMetadataInfo uses deprecated doctrine/common class #7306
Comments
Hi, Note that the deprecations in doctrine/common are silent (using Your tests should be using Given the above, I am not convinced this would justify a 2.6.3 hotfix release. @Ocramius your thoughts? |
I was not aware of that option. Certainly makes this less urgent! Thanks for telling me about it :) |
How would you silence the deprecation in the Symfony WDT? |
It shouldn't be triggered in first place, vendor deprecations are not fault of your code and should be ignored. If this is the default behavior of Symfony WDT, then it's wrong behavior. Either way this issue isn't the appropriate place to discuss configuration of Symfony or related issues. See symfony/symfony#27936. |
It's nice to know that despite what the warnings allude to, all's good with doctrine. |
Closing here as resolved, fix will be released in 2.6.3. |
BC Break Report
Summary
After upgrading to 2.6.2, which included an upgrade to doctrine/common:2.9.0, PHPUnit now fails with:
1x: Doctrine\Common\ClassLoader is deprecated.
Previous behavior
No deprecation errors were shown from using non-deprecated methods
Current behavior
How to reproduce
This is from in a test case in a Symfony application
The text was updated successfully, but these errors were encountered: