X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Ffuzz-tester.php;h=b72430a7aa51863da23529aacc02fa7d51dbf6c5;hb=22bfd9887e2f2ce087b3e002279d78c6312f7ceb;hp=8f3b8e5b9d39e91aa40a289821f7b3bf41fbe4ad;hpb=7d5c68a805302569c4d1f30cb4be2896f4f2216f;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/fuzz-tester.php b/maintenance/fuzz-tester.php index 8f3b8e5b9d..b72430a7aa 100644 --- a/maintenance/fuzz-tester.php +++ b/maintenance/fuzz-tester.php @@ -181,7 +181,7 @@ TODO: // ///////////////////////// COMMAND LINE HELP //////////////////////////////////// // This is a command line script, load MediaWiki env (gives command line options); -require_once( dirname( __FILE__ ) . '/commandLine.inc' ); +require_once( __DIR__ . '/commandLine.inc' ); // if the user asked for an explanation of command line options. if ( isset( $options["help"] ) ) { @@ -2041,7 +2041,7 @@ class api extends pageTest { } // Adds all the elements to the array, using the specified prefix. - private static function addListParams( &$array, $prefix, $elements ) { + private static function addListParams( &$array, $prefix, $elements ) { foreach ( $elements as $element ) { $array[$prefix . $element] = self::getParamDetails( $element ); }