Skip to content

Commit f466a33

Browse files
committed
wip
1 parent 854888f commit f466a33

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

install.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ function patchDir(string $base, string $dir): int
3131
$patched = preg_replace('/\):\s*(\?[a-zA-Z]+|void)\s*\n/', ") /*:$1*/\n", $patched);
3232
$patched = preg_replace('/private const/', "/*private*/ const", $patched);
3333
if ($patched && $patched != $original) {
34-
echo "$filename\n";
3534
file_put_contents($filename, $patched);
3635
$count++;
3736
}
@@ -50,7 +49,7 @@ function patch(string $base, array $dirs)
5049
$end = microtime(true);
5150
$time = ($end - $start) * 1000;
5251
if ($count) {
53-
echo sprintf("%d files patched in %d ms\n", $count, $time);
52+
fwrite(STDERR, sprintf("%d files patched in %d ms\n", $count, $time));
5453
}
5554
}
5655

0 commit comments

Comments
 (0)