Skip to content

Commit 3fe419c

Browse files
committed
Disable color support detection for tests
1 parent dd37126 commit 3fe419c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Console/Tester/CommandTester.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,7 @@ public function execute(array $input, array $options = array())
7070
}
7171

7272
$this->output = new StreamOutput(fopen('php://memory', 'w', false));
73-
if (isset($options['decorated'])) {
74-
$this->output->setDecorated($options['decorated']);
75-
}
73+
$this->output->setDecorated(isset($options['decorated']) ? $options['decorated'] : false);
7674
if (isset($options['verbosity'])) {
7775
$this->output->setVerbosity($options['verbosity']);
7876
}

0 commit comments

Comments
 (0)