MediaWiki REL1_37
|
This is a hook handler interface, see docs/Hooks.md. More...
Public Member Functions | |
onUnitTestsList (&$paths) | |
This hook is called when building a list of paths containing PHPUnit tests. | |
This is a hook handler interface, see docs/Hooks.md.
Use the hook name "UnitTestsList" to register handlers implementing this interface.
Definition at line 12 of file UnitTestsListHook.php.
MediaWiki\Hook\UnitTestsListHook::onUnitTestsList | ( | & | $paths | ) |
This hook is called when building a list of paths containing PHPUnit tests.
Since 1.24, paths pointing to a directory will be recursively scanned for test case files matching the suffix "Test.php".
array | &$paths | List of test cases and directories to search |
Implemented in MediaWiki\HookContainer\HookRunner.