We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 854888f commit f466a33Copy full SHA for f466a33
install.php
@@ -31,7 +31,6 @@ function patchDir(string $base, string $dir): int
31
$patched = preg_replace('/\):\s*(\?[a-zA-Z]+|void)\s*\n/', ") /*:$1*/\n", $patched);
32
$patched = preg_replace('/private const/', "/*private*/ const", $patched);
33
if ($patched && $patched != $original) {
34
- echo "$filename\n";
35
file_put_contents($filename, $patched);
36
$count++;
37
}
@@ -50,7 +49,7 @@ function patch(string $base, array $dirs)
50
49
$end = microtime(true);
51
$time = ($end - $start) * 1000;
52
if ($count) {
53
- echo sprintf("%d files patched in %d ms\n", $count, $time);
+ fwrite(STDERR, sprintf("%d files patched in %d ms\n", $count, $time));
54
55
56
0 commit comments