merged branch h4ck3rm1k3/hasColorSupportFix (PR #5624)

This PR was submitted on branch master but was merged on branch 2.0 instead (closes #5624).

Commits
-------

05eaebf hasColorSupport does not take an argument

Discussion
----------

hasColorSupport does not take an argument

removed the uneeded argument. trivial patch.
This commit is contained in:
Fabien Potencier 2012-09-28 16:21:46 +02:00
commit be00e3204f

View File

@ -54,7 +54,7 @@ class StreamOutput extends Output
$this->stream = $stream;
if (null === $decorated) {
$decorated = $this->hasColorSupport($decorated);
$decorated = $this->hasColorSupport();
}
parent::__construct($verbosity, $decorated, $formatter);