Example #1
0
#!/usr/bin/env php
<?php 
include_once 'common.php';
if (withCodeCoverage()) {
    runCommand('phpunit --coverage-text --coverage-clover coverage.xml');
} else {
    runCommand('phpunit');
}
#!/usr/bin/env php
<?php 
include_once 'common.php';
if (!isHhvm() && !withCodeCoverage()) {
    // Disable XDebug
    runCommand('phpenv config-rm xdebug.ini');
}