Explorar o código

fixed phpstan error

Adam Žurek %!s(int64=6) %!d(string=hai) anos
pai
achega
b935d1c812
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      tests/Composer/Test/Repository/ComposerRepositoryTest.php

+ 3 - 1
tests/Composer/Test/Repository/ComposerRepositoryTest.php

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