Skip to content

Commit

Permalink
Add note about static dependency on STDOUT phar-io#80
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaber-de committed Oct 2, 2016
1 parent 80379c9 commit 8b7ccbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/environment/UnixoidEnvironment.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function getPathToCommand($command) {
*/
public function supportsColoredOutput() {

// Todo: Check the actual used output stream
// ConsoleOutput::writeText() uses STDOUT, too.
if (! posix_isatty(STDOUT)) {
return false;
}
Expand Down

0 comments on commit 8b7ccbe

Please sign in to comment.