| Q |
A |
| PHPUnit version |
5.7.19 |
| PHP version |
7.1.4 |
| Installation Method |
Fedora repositories |
My build server logs output (therefore it is not a tty), but supports ANSI color codes. I'm using --color=always. Symfony on the other hand uses --ansi. It would be nice to have an environment variable which forces color output, so that I don't have to remember to add the command line flag to every invocation of phpunit.
In order to standardize this, I've created https://bixense.com/clicolors/ which suggest to use CLICOLOR_FORCE for this. This is also shared by CMake, Waf and Apple's command line utilities.
My build server logs output (therefore it is not a tty), but supports ANSI color codes. I'm using
--color=always. Symfony on the other hand uses--ansi. It would be nice to have an environment variable which forces color output, so that I don't have to remember to add the command line flag to every invocation of phpunit.In order to standardize this, I've created https://bixense.com/clicolors/ which suggest to use
CLICOLOR_FORCEfor this. This is also shared by CMake, Waf and Apple's command line utilities.