We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c449d69 commit cb2cd90Copy full SHA for cb2cd90
test/setup.php
@@ -1672,8 +1672,8 @@ private function run_test($test) {
1672
}
1673
1674
if ($this->color && !$this->verbose) {
1675
- fwrite(STDERR, sprintf("\r\x1b[38;2;100;140;210m[%*d/%d] \x1b[38;2;70;100;150m%s...\x1b[m \x1b[K",
1676
- $this->test_digits, $this->test_index, $this->test_count, $test));
+ fwrite(STDERR, sprintf("\r\x1b[38;2;100;140;210m[%{$this->test_digits}d/%d] \x1b[38;2;70;100;150m%s...\x1b[m \x1b[K",
+ $this->test_index, $this->test_count, $test));
1677
$this->need_newline = true;
1678
1679
0 commit comments