mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
fixed phpstan error
This commit is contained in:
parent
d2fa1e1319
commit
b935d1c812
1 changed files with 3 additions and 1 deletions
|
@ -227,7 +227,9 @@ class ComposerRepositoryTest extends TestCase
|
|||
$repository = new ComposerRepository(
|
||||
array('url' => $repositoryUrl),
|
||||
new NullIO(),
|
||||
FactoryMock::createConfig()
|
||||
FactoryMock::createConfig(),
|
||||
$this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(),
|
||||
$this->getMockBuilder('Composer\EventDispatcher\EventDispatcher')->disableOriginalConstructor()->getMock()
|
||||
);
|
||||
|
||||
$object = new \ReflectionObject($repository);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue