sebastianbergmann/phpunit — pull request #562 by willemstuursma (2012-05-08 13:48:34+00:00)
Title: Don't use colors in output when output is not an interactive shell

When piping phpunit output to less or some other program, the ANSI codes for colors show up as literals instead of changing the colors out the output.

Ignore the --colors option when the stdout is not a tty.