X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FfindHooks.php;h=6d5dda1bfca5b51dfe2c3c9ea7fd9041a2d943de;hb=13832025a46df3e0edd658dfb756159c2c5ac722;hp=b57db8f18cf45ba0c8357acb7c5599816b1c81c8;hpb=956ffb9cd77bb9748cf7bc425d50f0eea7e3abdd;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/findHooks.php b/maintenance/findHooks.php index b57db8f18c..6d5dda1bfc 100644 --- a/maintenance/findHooks.php +++ b/maintenance/findHooks.php @@ -82,7 +82,7 @@ class FindHooks extends Maintenance { "$IP/", ]; $extraFiles = [ - "$IP/tests/phpunit/MediaWikiTestCase.php", + "$IP/tests/phpunit/MediaWikiIntegrationTestCase.php", ]; foreach ( $recurseDirs as $dir ) { @@ -306,7 +306,7 @@ class FindHooks extends Maintenance { /** * Get hooks from a directory of PHP files. * @param string $dir Directory path to start at - * @param int $recursive Pass self::FIND_RECURSIVE + * @param int $recurse Pass self::FIND_RECURSIVE * @return array Array: key => hook name; value => array of arguments or string 'unknown' */ private function getHooksFromDir( $dir, $recurse = 0 ) {