Main goal: have coverage for PHPUnit
Issue: it enables it by default by creating /usr/local/etc/php/ext-20-xdebug.ini
so we should add a file.missing for that one.
Works as expected:
$ php -dzend_extension=xdebug.so -dxdebug.mode=coverage vendor/bin/phpunit [...] Generating code coverage report in Clover XML format ... done [00:00.122] Generating code coverage report in Crap4J XML format ... done [00:00.015] Generating code coverage report in HTML format ... done [00:00.251] Generating code coverage report in PHPUnit XML format ... done [00:00.369] $ find build -type f build/coverage/Contracts/dashboard.html build/coverage/Contracts/APIClient.php.html [...] build/logs/coverage/Phabricator/PhabricatorAPI.php.xml build/logs/coverage/Phabricator/ProjectsMap.php.xml build/logs/coverage/Exceptions/Handler.php.xml build/logs/junit.xml build/logs/clover.xml build/logs/crap4j.xml