Skip to content

Instantly share code, notes, and snippets.

@arturo-c
Created April 16, 2014 15:36
Show Gist options
  • Save arturo-c/10895374 to your computer and use it in GitHub Desktop.
Save arturo-c/10895374 to your computer and use it in GitHub Desktop.
define('PHPUnit_MAIN_METHOD', 'PHPUnit_TextUI_Command::main');
if (strpos('/usr/bin/php', '@php_bin') === 0) {
require dirname(__FILE__) . DIRECTORY_SEPARATOR . 'PHPUnit' . DIRECTORY_SEPARATOR . 'Autoload.php';
} else {
require '/usr/lib/php' . DIRECTORY_SEPARATOR . 'PHPUnit' . DIRECTORY_SEPARATOR . 'Autoload.php';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment