There was an error while loading. Please reload this page.
1 parent cb62621 commit 1613d80Copy full SHA for 1613d80
1 file changed
scripts/dev/bless_tests.php
@@ -79,6 +79,9 @@ function normalizeOutput(string $out): string {
79
$out = preg_replace("/'(\/|[A-Z]:\\\\)\S+\\.\\.\\.'/", "'%s'", $out);
80
$out = preg_replace("/'file:(\/|[A-Z]:\\\\)\S+\\.\\.\\.'/", "'%s'", $out);
81
$out = str_replace("\0", '%0', $out);
82
+ $out = preg_replace('(; .*\.php:\d+-\d+)', '; %s.php:%s', $out);
83
+ $out = preg_replace('(; \(lines=(\d+), args=(\d+), vars=(\d+), tmps=\d+\))', '; (lines=$1, args=$2, vars=$3, tmps=%d)', $out);
84
+ $out = preg_replace('((\d{4,}) (INIT_FCALL) (\d+) (\d+))', '$1 $2 $3 %d', $out);
85
return $out;
86
}
87
0 commit comments