[PhpUnitBridge] fix syntax on PHP 5.3
This commit is contained in:
parent
3e0330fd41
commit
9f3b43ab42
@ -106,10 +106,10 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$info += [
|
$info += array(
|
||||||
'versions' => [],
|
'versions' => array(),
|
||||||
'requires' => ['php' => '*'],
|
'requires' => array('php' => '*'),
|
||||||
];
|
);
|
||||||
|
|
||||||
if (1 === \count($info['versions'])) {
|
if (1 === \count($info['versions'])) {
|
||||||
$passthruOrFail("$COMPOSER create-project --ignore-platform-reqs --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi -s dev phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
|
$passthruOrFail("$COMPOSER create-project --ignore-platform-reqs --no-install --prefer-dist --no-scripts --no-plugins --no-progress --ansi -s dev phpunit/phpunit phpunit-$PHPUNIT_VERSION \"$PHPUNIT_VERSION.*\"");
|
||||||
|
Reference in New Issue
Block a user