diff --git a/src/Composer/ComposerOrchestrator.php b/src/Composer/ComposerOrchestrator.php index 10f84fc0d..c12b59cf7 100644 --- a/src/Composer/ComposerOrchestrator.php +++ b/src/Composer/ComposerOrchestrator.php @@ -75,7 +75,7 @@ public static function getVersion( $logger = new CompilerLogger($io ?? IO::createNull()); $composerExecutable = $composerBin ?? self::retrieveComposerExecutable(); - $getVersionProcess = new Process([$composerExecutable, '--version']); + $getVersionProcess = new Process([$composerExecutable, '--version', '--no-ansi']); $logger->log( CompilerLogger::CHEVRON_PREFIX,