Skip to content

Commit

Permalink
Fix constructor reflection of mock asset repository in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
francoispluchino committed Feb 25, 2016
1 parent 89cf36b commit ee82ef0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Tests/Fixtures/Repository/MockAssetRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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}
*/
Expand Down

0 comments on commit ee82ef0

Please sign in to comment.