Преглед на файлове

Fix OutputFormatter creation with Symfony 4, fixes #6871

Jordi Boggiano преди 7 години
родител
ревизия
ed20b3b4f6
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/Composer/Factory.php

+ 1 - 1
src/Composer/Factory.php

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