mediawiki/core currently exclude the tests folder for MediaWiki.Commenting.FunctionComment.MissingParamTag, because it reports some test functions who missing @param tags
At the moment the FunctionComment Sniff skips classes ends with *Test.php, but mediawiki/core contains some *TestBase classes containing test functions with @dataProvider and that means the function have arguments which want the sniff to be documented.
It would be nice to have the sniff in tests for the non-test functions working.
So how to make this better?
Remove the overall Test.php from FunctionCommentSniff and add a check for test* functions instead when reporting missing @param (or @return)?
PhpunitAnnotationsSniff already have some regex to check for test, so that needs refactoring for reuse that logic.
The other way is to document @param on tests, but that may not so helpful