From acd8aafa6317ffe1e09b123c0f86709320a995cd Mon Sep 17 00:00:00 2001 From: nuno maduro Date: Fri, 10 Apr 2026 19:21:49 +0100 Subject: [PATCH] fix: printer with `--colors` --- src/Plugins/Parallel/Support/CompactPrinter.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Plugins/Parallel/Support/CompactPrinter.php b/src/Plugins/Parallel/Support/CompactPrinter.php index aa2da210..2119646e 100644 --- a/src/Plugins/Parallel/Support/CompactPrinter.php +++ b/src/Plugins/Parallel/Support/CompactPrinter.php @@ -62,12 +62,12 @@ final class CompactPrinter /** * Creates a new instance of the Compact Printer. */ - public static function default(): self + public static function default(bool $decorated = true): self { return new self( terminal(), - new ConsoleOutput(decorated: true), - new Style(new ConsoleOutput(decorated: true)), + new ConsoleOutput(decorated: $decorated), + new Style(new ConsoleOutput(decorated: $decorated)), terminal()->width() - 4, ); }