In converting PHPUnit test metadata annotations from annotation to attributes, we renamed most of the @covers annotations to @legacy-covers, since @covers has not a direct equivalent in attributes.
Also, cover attributes are no longer supported on the test methods, only as class targets.
This is leaving a significant amount of cruft @legacy-covers annotation in the codebase, and more so there are new additions that do not make sense as they will unlikely be changed to something meaningful, at least in bulk.
Add @legacy-covers to the list of forbidden annotations on test methods, baseline existing instances, let the future fix the history.
Active
11.0 🔥
phpunit
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
No activities found.