mirror of
https://github.com/composer/composer
synced 2025-05-11 01:22:54 +00:00
Fix PHP 5.3 compatibility
This commit is contained in:
parent
92f7543222
commit
d1ba698291
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class RepositoryFactoryTest extends TestCase
|
||||||
$ref->setAccessible(true);
|
$ref->setAccessible(true);
|
||||||
$repositoryClasses = $ref->getValue($manager);
|
$repositoryClasses = $ref->getValue($manager);
|
||||||
|
|
||||||
$this->assertEquals([
|
$this->assertEquals(array(
|
||||||
'composer',
|
'composer',
|
||||||
'vcs',
|
'vcs',
|
||||||
'package',
|
'package',
|
||||||
|
@ -42,6 +42,6 @@ class RepositoryFactoryTest extends TestCase
|
||||||
'hg',
|
'hg',
|
||||||
'artifact',
|
'artifact',
|
||||||
'path',
|
'path',
|
||||||
], array_keys($repositoryClasses));
|
), array_keys($repositoryClasses));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue