We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f92f05f commit fce9ec0Copy full SHA for fce9ec0
src/Manager.php
@@ -107,7 +107,10 @@ protected function getDefaultOutput(Settings $settings)
107
if ($settings->json) {
108
return new JsonOutput($writer);
109
} else {
110
- return ($settings->colors !== Settings::DISABLED ? new TextOutputColored($writer, $settings->colors) : new TextOutput($writer));
+ if ($settings->colors === Settings::DISABLED) {
111
+ return new TextOutput($writer);
112
+ }
113
+ return new TextOutputColored($writer, $settings->colors);
114
}
115
116
0 commit comments