Skip to content

Commit cb2cd90

Browse files
committed
PHP 7.3 compatibility
1 parent c449d69 commit cb2cd90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/setup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,8 +1672,8 @@ private function run_test($test) {
16721672
}
16731673

16741674
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));
1675+
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",
1676+
$this->test_index, $this->test_count, $test));
16771677
$this->need_newline = true;
16781678
}
16791679

0 commit comments

Comments
 (0)