You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPUnit 10 introduced support for PHP 8 attributes to add metadata to test classes and test methods. Previously, annotations in special PHP comments called "docblocks" or "doc-comments" were the only way to add metadata to units of code.
In PHPUnit 11, the annotations that can be used in special PHP comments to add metadata to test classes and test methods are deprecated. Support for these annotations will be removed in PHPUnit 12.
@staabm I don't think we should use this knowledge to improve performance (it'd be negligible). I think we should use it to report "@dataProvider is deprecated on PHPUnit 11.x" (when %deprecationRulesInstalled% is true) and on PHPUnit 12.x to report that it's no longer supported 😊
Activity
[-]Don't parse PHPDocs for PHPUnit[/-][+]Don't parse PHPDocs for PHPUnit 12+[/+]staabm commentedon Oct 27, 2025
from #239 (comment)
[-]Don't parse PHPDocs for PHPUnit 12+[/-][+]Report use of deprecated phpdoc annotations[/+]