From 2a94fe89535fffd69167611bd96c13eaea9e1d90 Mon Sep 17 00:00:00 2001 From: NZTim Date: Sun, 24 Dec 2017 11:30:22 +1300 Subject: [PATCH] Replace with symbols only if colors flag is set --- src/Printer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Printer.php b/src/Printer.php index 5249185..65552b9 100644 --- a/src/Printer.php +++ b/src/Printer.php @@ -210,7 +210,7 @@ protected function formatTestDuration($time) { */ protected function hasReplacementSymbol($progress) { - return in_array($progress, array_keys(static::$symbols)); + return $this->colors && in_array($progress, array_keys(static::$symbols)); } /**