From a7e17cb70e9306f8887bd2b5ca1a37edcbe3ea0f Mon Sep 17 00:00:00 2001 From: Stefan Suhren Date: Mon, 11 May 2015 15:02:33 +0200 Subject: Let composer manage its own files --- .../Finder/Exception/AccessDeniedException.php | 19 --------- .../Finder/Exception/AdapterFailureException.php | 46 ---------------------- .../Finder/Exception/ExceptionInterface.php | 23 ----------- .../Exception/OperationNotPermitedException.php | 19 --------- .../Exception/ShellCommandFailureException.php | 45 --------------------- 5 files changed, 152 deletions(-) delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AccessDeniedException.php delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ExceptionInterface.php delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/OperationNotPermitedException.php delete mode 100644 Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ShellCommandFailureException.php (limited to 'Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception') diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AccessDeniedException.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AccessDeniedException.php deleted file mode 100644 index ee195ea..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AccessDeniedException.php +++ /dev/null @@ -1,19 +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\Exception; - -/** - * @author Jean-François Simon - */ -class AccessDeniedException extends \UnexpectedValueException -{ -} diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php deleted file mode 100644 index 15fa221..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/AdapterFailureException.php +++ /dev/null @@ -1,46 +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\Exception; - -use Symfony\Component\Finder\Adapter\AdapterInterface; - -/** - * Base exception for all adapter failures. - * - * @author Jean-François Simon - */ -class AdapterFailureException extends \RuntimeException implements ExceptionInterface -{ - /** - * @var \Symfony\Component\Finder\Adapter\AdapterInterface - */ - private $adapter; - - /** - * @param AdapterInterface $adapter - * @param string|null $message - * @param \Exception|null $previous - */ - public function __construct(AdapterInterface $adapter, $message = null, \Exception $previous = null) - { - $this->adapter = $adapter; - parent::__construct($message ?: 'Search failed with "'.$adapter->getName().'" adapter.', $previous); - } - - /** - * {@inheritdoc} - */ - public function getAdapter() - { - return $this->adapter; - } -} diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ExceptionInterface.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ExceptionInterface.php deleted file mode 100644 index bff0214..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ExceptionInterface.php +++ /dev/null @@ -1,23 +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\Exception; - -/** - * @author Jean-François Simon - */ -interface ExceptionInterface -{ - /** - * @return \Symfony\Component\Finder\Adapter\AdapterInterface - */ - public function getAdapter(); -} diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/OperationNotPermitedException.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/OperationNotPermitedException.php deleted file mode 100644 index 3663112..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/OperationNotPermitedException.php +++ /dev/null @@ -1,19 +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\Exception; - -/** - * @author Jean-François Simon - */ -class OperationNotPermitedException extends AdapterFailureException -{ -} diff --git a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ShellCommandFailureException.php b/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ShellCommandFailureException.php deleted file mode 100644 index 2658f6a..0000000 --- a/Aufgabe06/vendor/symfony/finder/Symfony/Component/Finder/Exception/ShellCommandFailureException.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\Exception; - -use Symfony\Component\Finder\Adapter\AdapterInterface; -use Symfony\Component\Finder\Shell\Command; - -/** - * @author Jean-François Simon - */ -class ShellCommandFailureException extends AdapterFailureException -{ - /** - * @var Command - */ - private $command; - - /** - * @param AdapterInterface $adapter - * @param Command $command - * @param \Exception|null $previous - */ - public function __construct(AdapterInterface $adapter, Command $command, \Exception $previous = null) - { - $this->command = $command; - parent::__construct($adapter, 'Shell command failed: "'.$command->join().'".', $previous); - } - - /** - * @return Command - */ - public function getCommand() - { - return $this->command; - } -} -- cgit v1.2.3-70-g09d2