Specifically, if a test overrides setUpBeforeClass, setUp, tearDown, or tearDownAfterClass the override should call the original parent method (for setup, the call normally goes at the start, and for tear down, it normally goes at the end, but having it anywhere is better than not having at all)
Description
Details
Event Timeline
Change 682164 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/core@master] Add new sniff MediaWiki.PHPUnit.ParentCall
Change 682164 abandoned by DannyS712:
[mediawiki/core@master] Add new sniff MediaWiki.PHPUnit.ParentCall
Reason:
oops, wrong repo
Change 682165 had a related patch set uploaded (by DannyS712; author: DannyS712):
[mediawiki/tools/codesniffer@master] Add new sniff MediaWiki.PHPUnit.ParentCall
I'm sorry that I haven't handled this task. I recently returned from a long bout of unexpected inactivity, and while I plan to resume my contributions here on Phabricator its unfair to claim tasks that I might not work on when others may be interested in handling them. I'm removing myself as the assignee in a batch-action, but if someone feels that I really should be the one to handle this task feel free to re-assign me and I'll take a look.