Skip to content

Commit bfceb71

Browse files
committed
Apply tidy to SKIPIF and CLEAN section as well
1 parent 0582c40 commit bfceb71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/dev/tidy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function transformTestCode(string $code, callable $transformer): string {
117117
}
118118

119119
return preg_replace_callback(
120-
'/(--FILE--)(.+?)(--[A-Z_]+--)/s',
120+
'/(--(?:FILE|SKIPIF|CLEAN)--)(.+?)(--[A-Z_]+--)/s',
121121
function(array $matches) use($transformer) {
122122
return $matches[1] . $transformer($matches[2]) . $matches[3];
123123
},

0 commit comments

Comments
 (0)