mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-09-19 20:25:13 +00:00
45 lines
901 B
PHP
45 lines
901 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* This file is part of the Fxp Composer Asset Plugin package.
|
||
|
*
|
||
|
* (c) François Pluchino <francois.pluchino@gmail.com>
|
||
|
*
|
||
|
* For the full copyright and license information, please view the LICENSE
|
||
|
* file that was distributed with this source code.
|
||
|
*/
|
||
|
|
||
|
namespace Fxp\Composer\AssetPlugin\Tests\Fixtures\Repository\Vcs;
|
||
|
|
||
|
/**
|
||
|
* Mock vcs driver for skip parsing test.
|
||
|
*
|
||
|
* @author François Pluchino <francois.pluchino@gmail.com>
|
||
|
*/
|
||
|
class MockVcsDriverSkipParsing extends MockVcsDriver
|
||
|
{
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*/
|
||
|
public function getRootIdentifier()
|
||
|
{
|
||
|
return 'ROOT';
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*/
|
||
|
public function hasComposerFile($identifier)
|
||
|
{
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* {@inheritdoc}
|
||
|
*/
|
||
|
public function getComposerInformation($identifier)
|
||
|
{
|
||
|
throw new \Exception('MESSAGE with '.$identifier);
|
||
|
}
|
||
|
}
|