Page MenuHomePhabricator

UserMerge extension is missing @covers tags
Closed, ResolvedPublic

Description

PHPCS has identified that some of the UserMerge PHPUnit tests are missing @covers tags. Those tags
are necessary for PHPUnit to accurately calculate test coverage.

See the PHPUnit documentation for how to use it.

Once the tags have been added, the MissingCovers sniff should be re-enabled in .phpcs.xml.

Event Timeline

Vvjjkkii renamed this task from UserMerge extension is missing @covers tags to 0lcaaaaaaa.Jul 1 2018, 1:08 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from 0lcaaaaaaa to UserMerge extension is missing @covers tags.Jul 1 2018, 5:01 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Change 455120 had a related patch set uploaded (by Legoktm; owner: Umherirrender):
[mediawiki/extensions/UserMerge@master] Add @covers to unit test

https://gerrit.wikimedia.org/r/455120

Change 455120 merged by jenkins-bot:
[mediawiki/extensions/UserMerge@master] Add @covers to unit test

https://gerrit.wikimedia.org/r/455120

Legoktm assigned this task to Umherirrender.