X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FpreprocessorFuzzTest.php;h=e1710c142a455ec7f3feb293ab244651c9ba190f;hb=973459bd0e339fe15c7f78f1dbfc43a19e1b5712;hp=9155623f100defd8b5520b140ef497a63c978c8c;hpb=00c13cb4d5f978a57275e74752a4be734675be81;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/preprocessorFuzzTest.php b/maintenance/preprocessorFuzzTest.php index 9155623f10..e1710c142a 100644 --- a/maintenance/preprocessorFuzzTest.php +++ b/maintenance/preprocessorFuzzTest.php @@ -64,7 +64,7 @@ class PPFuzzTester { self::$currentTest = new PPFuzzTest( $this ); self::$currentTest->execute(); $passed = 'passed'; - } catch ( MWException $e ) { + } catch ( Exception $e ) { $testReport = self::$currentTest->getReport(); $exceptionReport = $e->getText(); $hash = md5( $testReport ); @@ -159,6 +159,7 @@ class PPFuzzTest { /** * @param Title $title + * @return array */ function templateHook( $title ) { $titleText = $title->getPrefixedDBkey();