Pass phpcs-strict on tests/parser/
authorSiebrand Mazeland <siebrand@kitano.nl>
Thu, 24 Apr 2014 09:15:42 +0000 (11:15 +0200)
committerSiebrand Mazeland <siebrand@kitano.nl>
Thu, 24 Apr 2014 09:15:42 +0000 (11:15 +0200)
Change-Id: I8d9780e75c9310d625a0968f85638d69acfa6a64

tests/parser/parserTest.inc

index 27d6bca..0899d46 100644 (file)
@@ -391,7 +391,11 @@ class ParserTest {
 
                foreach ( $filenames as $filename ) {
                        $contents = file_get_contents( $filename );
-                       preg_match_all( '/!!\s*(input|wikitext)\n(.*?)\n!!\s*(result|html|html\/\*|html\/php)/s', $contents, $matches );
+                       preg_match_all(
+                               '/!!\s*(input|wikitext)\n(.*?)\n!!\s*(result|html|html\/\*|html\/php)/s',
+                               $contents,
+                               $matches
+                       );
 
                        foreach ( $matches[1] as $match ) {
                                $dict .= $match . "\n";