From 79c33af782e5e908919eb7dec44e412f328987aa Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Tue, 19 Jul 2022 14:51:28 +0100 Subject: [PATCH] [9.x] Avoids colors being captured on composer version in `about` command (#43276) * Avoids colors being captured on composer version in `about` command * Apply fixes from StyleCI Co-authored-by: StyleCI Bot --- src/Illuminate/Support/Composer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Composer.php b/src/Illuminate/Support/Composer.php index 010ff4f80aec..0571c6df465b 100644 --- a/src/Illuminate/Support/Composer.php +++ b/src/Illuminate/Support/Composer.php @@ -115,7 +115,7 @@ public function setWorkingPath($path) */ public function getVersion() { - $command = array_merge($this->findComposer(), ['-V']); + $command = array_merge($this->findComposer(), ['-V', '--no-ansi']); $process = $this->getProcess($command);