dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8562a18
)
Pass phpcs-strict on tests/parser/
author
Siebrand Mazeland
<siebrand@kitano.nl>
Thu, 24 Apr 2014 09:15:42 +0000
(11:15 +0200)
committer
Siebrand Mazeland
<siebrand@kitano.nl>
Thu, 24 Apr 2014 09:15:42 +0000
(11:15 +0200)
Change-Id: I8d9780e75c9310d625a0968f85638d69acfa6a64
tests/parser/parserTest.inc
patch
|
blob
|
history
diff --git
a/tests/parser/parserTest.inc
b/tests/parser/parserTest.inc
index
27d6bca
..
0899d46
100644
(file)
--- 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";