mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-09-19 13:25:21 +00:00
20862be7d0
- slim/slim: ^3.1 - symfony/expression-language: ^3.4 - fxp/composer-asset-plugin: ~1.3 - bower-asset/vue: ^2.5 - bower-asset/vue-resource: ^1.5
44 lines
901 B
PHP
44 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);
|
|
}
|
|
}
|