1
0
Fork 0

fixed phpstan error

pull/8223/head
Adam Žurek 2019-07-12 18:34:12 +02:00
parent d2fa1e1319
commit b935d1c812
1 changed files with 3 additions and 1 deletions

View File

@ -227,7 +227,9 @@ class ComposerRepositoryTest extends TestCase
$repository = new ComposerRepository( $repository = new ComposerRepository(
array('url' => $repositoryUrl), array('url' => $repositoryUrl),
new NullIO(), new NullIO(),
FactoryMock::createConfig() FactoryMock::createConfig(),
$this->getMockBuilder('Composer\Util\HttpDownloader')->disableOriginalConstructor()->getMock(),
$this->getMockBuilder('Composer\EventDispatcher\EventDispatcher')->disableOriginalConstructor()->getMock()
); );
$object = new \ReflectionObject($repository); $object = new \ReflectionObject($repository);