From bf4512da78444c0f7039df76c97137875d7b6ded Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 24 Apr 2014 11:15:42 +0200 Subject: [PATCH] Pass phpcs-strict on tests/parser/ Change-Id: I8d9780e75c9310d625a0968f85638d69acfa6a64 --- tests/parser/parserTest.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/parser/parserTest.inc b/tests/parser/parserTest.inc index 27d6bca3fa..0899d46243 100644 --- a/tests/parser/parserTest.inc +++ b/tests/parser/parserTest.inc @@ -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"; -- 2.20.1