-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Test runner deprecations when docblock is needed #5693
Comments
Thank you for your report. Unfortunately, I cannot reproduce it:
|
My bad, I've double checked my tests and it seems that the deprecations go away when I comment out the I'll dig some more and see if I can file an issue (or a PR) there, since I'm already using phpspec/prophecy#616 to use it before the real compat is released. |
For anyone arriving here and wondering, the causes are the |
Summary
I'm working on Paraunit to make it fully compatible with PHPUnit 11, but my CI is reporting a ton of deprecations because many of my test methods have PHPDoc annotations due to static analysis.
Unfortu
Current behavior
I get dozens of deprecations in this form:
How to reproduce
Put a
@param
or@return
on top of a test method or a data provider.Expected behavior
No deprecations for annotations that are not PHPUnit-related.
The text was updated successfully, but these errors were encountered: