title: Disable colors in code coverage output from PHPUnit
body: <p>I want to automate testing for a little PHP project of mine, it works well so far, the only thing I could not get to work is the code coverage report.</p>
  
  <p>In Gitlab-Ci there is the option <code>Test coverage parsing</code>, which accepts a regex.
  So far so good, I found a regex at <a href="http://jarretbyrne.com/2015/04/gitlab-ci-phpunit-test-coverage-parsing/" rel="nofollow">http://jarretbyrne.com/2015/04/gitlab-ci-phpunit-test-coverage-parsing/</a> : <code>^\s*Lines:\s*\d+.\d+\%</code></p>
  
  <p>But as the comment says: it doesn't work with colors enabled.
  <code>PHPUnit</code> has the command line switch <code>--colors-[always|never|auto]</code> but this option only applies to the normal output.</p>
  
  <p>How can I turn off colors for <code>--coverage-text</code>? Can I use another regex?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>There is an open issue at <a href="https://github.com/sebastianbergmann/phpunit/issues/1771" rel="nofollow">https://github.com/sebastianbergmann/phpunit/issues/1771</a></p>