prefer phpunit 5.x on hhvm
This commit is contained in:
parent
6b13708ab6
commit
7a06d92925
4
phpunit
4
phpunit
@ -18,8 +18,8 @@ use Symfony\Component\Process\ProcessUtils;
|
||||
error_reporting(-1);
|
||||
require __DIR__.'/src/Symfony/Component/Process/ProcessUtils.php';
|
||||
|
||||
// PHPUnit 4.8 does not support PHP 7, while 5.0 requires PHP 5.6+
|
||||
$PHPUNIT_VERSION = PHP_VERSION_ID >= 70000 ? '5.0' : '4.8';
|
||||
// PHPUnit 4.8 does not support PHP 7, while 5.1 requires PHP 5.6+
|
||||
$PHPUNIT_VERSION = PHP_VERSION_ID >= 50600 ? '5.1' : '4.8';
|
||||
$PHPUNIT_DIR = __DIR__.'/.phpunit';
|
||||
$PHP = defined('PHP_BINARY') ? PHP_BINARY : 'php';
|
||||
$PHP = ProcessUtils::escapeArgument($PHP);
|
||||
|
Reference in New Issue
Block a user