File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ function getFiles(array $dirsOrFiles): \Iterator {
62
62
}
63
63
64
64
function normalizeOutput (string $ out ): string {
65
- $ out = preg_replace ('/in \/ .+ on line \d+$/m ' , 'in %s on line %d ' , $ out );
66
- $ out = preg_replace ('/in \/ .+:\d+$/m ' , 'in %s:%d ' , $ out );
67
- $ out = preg_replace ('/^#(\d+) \/ .+\(\d+\):/m ' , '#$1 %s(%d): ' , $ out );
65
+ $ out = preg_replace ('/in (\/|[A-Z]: \\\\ ) .+ on line \d+$/m ' , 'in %s on line %d ' , $ out );
66
+ $ out = preg_replace ('/in (\/|[A-Z]: \\\\ ) .+:\d+$/m ' , 'in %s:%d ' , $ out );
67
+ $ out = preg_replace ('/^#(\d+) (\/|[A-Z]: \\\\ ) .+\(\d+\):/m ' , '#$1 %s(%d): ' , $ out );
68
68
$ out = preg_replace ('/Resource id #\d+/ ' , 'Resource id #%d ' , $ out );
69
69
$ out = preg_replace ('/resource\(\d+\) of type/ ' , 'resource(%d) of type ' , $ out );
70
70
$ out = preg_replace (
You can’t perform that action at this time.
0 commit comments