[PhpUnitBridge] fix syntax on PHP 5.3

This commit is contained in:
Nicolas Grekas 2020-06-04 17:35:46 +02:00
parent 3e0330fd41
commit 9f3b43ab42
1 changed files with 4 additions and 4 deletions

View File

@ -106,10 +106,10 @@ if (!file_exists("$PHPUNIT_DIR/phpunit-$PHPUNIT_VERSION/phpunit") || md5_file(__
}
}
$info += [
'versions' => [],
'requires' => ['php' => '*'],
];
$info += array(
'versions' => array(),
'requires' => array('php' => '*'),
);
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.*\"");