mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
PHP version checks tweaking
This commit is contained in:
parent
13a3349603
commit
29ca21f30e
10 changed files with 13 additions and 13 deletions
|
@ -64,7 +64,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
|
|||
array(__DIR__.'/Fixtures/template', array()),
|
||||
);
|
||||
|
||||
if (version_compare(PHP_VERSION, '5.4', '>=')) {
|
||||
if (PHP_VERSION_ID >= 50400) {
|
||||
$data[] = array(__DIR__.'/Fixtures/php5.4', array(
|
||||
'TFoo' => __DIR__.'/Fixtures/php5.4/traits.php',
|
||||
'CFoo' => __DIR__.'/Fixtures/php5.4/traits.php',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue