X-Git-Url: https://git.cyclocoop.org/%28%28?a=blobdiff_plain;f=maintenance%2FpreprocessorFuzzTest.php;h=e1710c142a455ec7f3feb293ab244651c9ba190f;hb=8fe5a94aa059bf93ba1b00fde84ae6b1edf831fd;hp=9155623f100defd8b5520b140ef497a63c978c8c;hpb=0b7f75739786a44feab8eca1a9ec21b72e3bb2cc;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();