]> git.mxchange.org Git - friendica-addons.git/blob
17dc37a615f74be0c28b8744105ced76a11cef7a
[friendica-addons.git] /
1 <?php
2
3 /*
4  * This file is part of the Fxp Composer Asset Plugin package.
5  *
6  * (c) François Pluchino <francois.pluchino@gmail.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Fxp\Composer\AssetPlugin\Tests\Fixtures\Repository\Vcs;
13
14 /**
15  * Mock vcs driver for skip parsing test.
16  *
17  * @author François Pluchino <francois.pluchino@gmail.com>
18  */
19 class MockVcsDriverSkipParsing extends MockVcsDriver
20 {
21     /**
22      * {@inheritdoc}
23      */
24     public function getRootIdentifier()
25     {
26         return 'ROOT';
27     }
28
29     /**
30      * {@inheritdoc}
31      */
32     public function hasComposerFile($identifier)
33     {
34         return true;
35     }
36
37     /**
38      * {@inheritdoc}
39      */
40     public function getComposerInformation($identifier)
41     {
42         throw new \Exception('MESSAGE with '.$identifier);
43     }
44 }