1
0
Fork 0

Replace usage of brackets by legacy array notation

pull/4365/head
Samuel ROZE 2015-08-18 15:16:15 +01:00
parent 4ab123291d
commit dfccb686ce
1 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ class VersionGuesserTest extends \PHPUnit_Framework_TestCase
$config = new Config;
$config->merge(array('repositories' => array('packagist' => false)));
$guesser = new VersionGuesser($executor, new VersionParser());
$version = $guesser->guessVersion($config, []);
$version = $guesser->guessVersion($config, array());
$this->assertEquals("dev-$commitHash", $version);
}
@ -101,7 +101,7 @@ class VersionGuesserTest extends \PHPUnit_Framework_TestCase
$config = new Config;
$config->merge(array('repositories' => array('packagist' => false)));
$guesser = new VersionGuesser($executor, new VersionParser());
$version = $guesser->guessVersion($config, []);
$version = $guesser->guessVersion($config, array());
$this->assertEquals("2.0.5.0-alpha2", $version);
}
@ -151,7 +151,7 @@ class VersionGuesserTest extends \PHPUnit_Framework_TestCase
$config = new Config;
$config->merge(array('repositories' => array('packagist' => false)));
$guesser = new VersionGuesser($executor, new VersionParser());
$version = $guesser->guessVersion($config, []);
$version = $guesser->guessVersion($config, array());
$this->assertEquals("dev-foo", $version);
}