1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

fixed phpstan error

This commit is contained in:
Adam Žurek 2019-07-12 18:34:12 +02:00
parent d2fa1e1319
commit b935d1c812

View file

@ -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);