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 --coverage-html coverage/
PHPUnit 4.8.10 by Sebastian Bergmann and contributors.
Trying to @cover or @use not existing class or interface "\MediaWiki\suppressWarnings".
PHPUni doesn't support namespaced functions in @Covers yet.
See <sebastianbergmann/phpunit#1898>.
It doesn't matter in this case because strict coverage wasn't
enabled in phpunit.xml anyway, so the result is the same.
Change-Id: I001d9526e8b8a4b5b18f3eb66f07e4c603bfe692
dac514
added a commit
to pressbooks/pressbooks
that referenced
this issue
Nov 7, 2015
…e to suppress problem.
Got: Trying to @cover or @use not existing class or interface "\PressBooks\Media\add_mime_types".
Because: Fixed [#1898](sebastianbergmann/phpunit#1898): `@covers` and `@uses` cannot be used for namespaced functions
Need to email Travis CI and tell them to upgrade phpunit?
It seems
@covers
is unable to describe a function provided by a namespace.Example: https://github.com/wikimedia/at-ease
src/Functions.php:
tests/FunctionsTest.php
Previously filed as #1797.
The text was updated successfully, but these errors were encountered: