From ee82ef042e9e27b28b4bfb261aec293178092c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pluchino?= Date: Thu, 25 Feb 2016 13:33:16 +0100 Subject: [PATCH] Fix constructor reflection of mock asset repository in tests --- .../Fixtures/Repository/MockAssetRepository.php | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Tests/Fixtures/Repository/MockAssetRepository.php b/Tests/Fixtures/Repository/MockAssetRepository.php index 16f0b1b5..2de8200b 100644 --- a/Tests/Fixtures/Repository/MockAssetRepository.php +++ b/Tests/Fixtures/Repository/MockAssetRepository.php @@ -11,6 +11,9 @@ namespace Fxp\Composer\AssetPlugin\Tests\Fixtures\Repository; +use Composer\Config; +use Composer\EventDispatcher\EventDispatcher; +use Composer\IO\IOInterface; use Composer\Package\PackageInterface; use Composer\Repository\RepositoryInterface; @@ -21,6 +24,19 @@ */ class MockAssetRepository implements RepositoryInterface { + /** + * Constructor. + * + * @param array $repoConfig + * @param IOInterface $io + * @param Config $config + * @param EventDispatcher|null $eventDispatcher + */ + public function __construct(array $repoConfig, IOInterface $io, Config $config, + EventDispatcher $eventDispatcher = null) + { + } + /** * {@inheritdoc} */