Browse Source

Fix OutputFormatter creation with Symfony 4, fixes #6871

Jordi Boggiano 7 years ago
parent
commit
ed20b3b4f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Factory.php

+ 1 - 1
src/Composer/Factory.php

@@ -238,7 +238,7 @@ class Factory
     public static function createOutput()
     {
         $styles = self::createAdditionalStyles();
-        $formatter = new OutputFormatter(null, $styles);
+        $formatter = new OutputFormatter(false, $styles);
 
         return new ConsoleOutput(ConsoleOutput::VERBOSITY_NORMAL, null, $formatter);
     }