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 --- .../Definition/Exception/DuplicateKeyException.php | 22 ---------- .../Config/Definition/Exception/Exception.php | 21 ---------- .../Exception/ForbiddenOverwriteException.php | 22 ---------- .../Exception/InvalidConfigurationException.php | 49 ---------------------- .../Exception/InvalidDefinitionException.php | 21 ---------- .../Definition/Exception/InvalidTypeException.php | 21 ---------- .../Definition/Exception/UnsetKeyException.php | 22 ---------- 7 files changed, 178 deletions(-) delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/DuplicateKeyException.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/Exception.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/ForbiddenOverwriteException.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidConfigurationException.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidDefinitionException.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidTypeException.php delete mode 100644 Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/UnsetKeyException.php (limited to 'Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception') diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/DuplicateKeyException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/DuplicateKeyException.php deleted file mode 100644 index 48dd932..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/DuplicateKeyException.php +++ /dev/null @@ -1,22 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * This exception is thrown whenever the key of an array is not unique. This can - * only be the case if the configuration is coming from an XML file. - * - * @author Johannes M. Schmitt - */ -class DuplicateKeyException extends InvalidConfigurationException -{ -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/Exception.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/Exception.php deleted file mode 100644 index 8933a49..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/Exception.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * Base exception for all configuration exceptions. - * - * @author Johannes M. Schmitt - */ -class Exception extends \RuntimeException -{ -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/ForbiddenOverwriteException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/ForbiddenOverwriteException.php deleted file mode 100644 index 726c07f..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/ForbiddenOverwriteException.php +++ /dev/null @@ -1,22 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * This exception is thrown when a configuration path is overwritten from a - * subsequent configuration file, but the entry node specifically forbids this. - * - * @author Johannes M. Schmitt - */ -class ForbiddenOverwriteException extends InvalidConfigurationException -{ -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidConfigurationException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidConfigurationException.php deleted file mode 100644 index 3dbc57b..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidConfigurationException.php +++ /dev/null @@ -1,49 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * A very general exception which can be thrown whenever non of the more specific - * exceptions is suitable. - * - * @author Johannes M. Schmitt - */ -class InvalidConfigurationException extends Exception -{ - private $path; - private $containsHints = false; - - public function setPath($path) - { - $this->path = $path; - } - - public function getPath() - { - return $this->path; - } - - /** - * Adds extra information that is suffixed to the original exception message. - * - * @param string $hint - */ - public function addHint($hint) - { - if (!$this->containsHints) { - $this->message .= "\nHint: ".$hint; - $this->containsHints = true; - } else { - $this->message .= ', '.$hint; - } - } -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidDefinitionException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidDefinitionException.php deleted file mode 100644 index 98310da..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidDefinitionException.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * Thrown when an error is detected in a node Definition. - * - * @author Victor Berchet - */ -class InvalidDefinitionException extends Exception -{ -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidTypeException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidTypeException.php deleted file mode 100644 index d7ca8c9..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/InvalidTypeException.php +++ /dev/null @@ -1,21 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * This exception is thrown if an invalid type is encountered. - * - * @author Johannes M. Schmitt - */ -class InvalidTypeException extends InvalidConfigurationException -{ -} diff --git a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/UnsetKeyException.php b/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/UnsetKeyException.php deleted file mode 100644 index 863181a..0000000 --- a/Aufgabe06/vendor/symfony/config/Symfony/Component/Config/Definition/Exception/UnsetKeyException.php +++ /dev/null @@ -1,22 +0,0 @@ - - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ - -namespace Symfony\Component\Config\Definition\Exception; - -/** - * This exception is usually not encountered by the end-user, but only used - * internally to signal the parent scope to unset a key. - * - * @author Johannes M. Schmitt - */ -class UnsetKeyException extends Exception -{ -} -- cgit v1.2.3-70-g09d2