X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Ffinder%2FTests%2FFakeAdapter%2FFailingAdapter.php;fp=vendor%2Fsymfony%2Ffinder%2FTests%2FFakeAdapter%2FFailingAdapter.php;h=0000000000000000000000000000000000000000;hp=6e6ed24b6151087f601d663b4bc6c2ae84247c48;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/finder/Tests/FakeAdapter/FailingAdapter.php b/vendor/symfony/finder/Tests/FakeAdapter/FailingAdapter.php deleted file mode 100644 index 6e6ed24b6..000000000 --- a/vendor/symfony/finder/Tests/FakeAdapter/FailingAdapter.php +++ /dev/null @@ -1,45 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Finder\Tests\FakeAdapter; - -use Symfony\Component\Finder\Adapter\AbstractAdapter; -use Symfony\Component\Finder\Exception\AdapterFailureException; - -/** - * @author Jean-François Simon - */ -class FailingAdapter extends AbstractAdapter -{ - /** - * {@inheritdoc} - */ - public function searchInDirectory($dir) - { - throw new AdapterFailureException($this); - } - - /** - * {@inheritdoc} - */ - public function getName() - { - return 'failing'; - } - - /** - * {@inheritdoc} - */ - protected function canBeUsed() - { - return true; - } -}