Selaa lähdekoodia

[Routing] renamed Exception interface to ExceptionInterface to follow CS

Fabien Potencier 14 vuotta sitten
vanhempi
commit
bb0b3efbf0

+ 2 - 2
src/Symfony/Component/Routing/Exception/Exception.php

@@ -12,10 +12,10 @@
 namespace Symfony\Component\Routing\Exception;
 
 /**
- * Exception
+ * ExceptionInterface
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
  */
-interface Exception
+interface ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/Routing/Exception/InvalidParameterException.php

@@ -16,6 +16,6 @@ namespace Symfony\Component\Routing\Exception;
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
  */
-class InvalidParameterException extends \InvalidArgumentException implements Exception
+class InvalidParameterException extends \InvalidArgumentException implements ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/Routing/Exception/MethodNotAllowedException.php

@@ -18,7 +18,7 @@ namespace Symfony\Component\Routing\Exception;
  *
  * @author Kris Wallsmith <kris@symfony.com>
  */
-class MethodNotAllowedException extends \RuntimeException implements Exception
+class MethodNotAllowedException extends \RuntimeException implements ExceptionInterface
 {
     protected $allowedMethods;
 

+ 1 - 1
src/Symfony/Component/Routing/Exception/MissingMandatoryParametersException.php

@@ -17,6 +17,6 @@ namespace Symfony\Component\Routing\Exception;
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
  */
-class MissingMandatoryParametersException extends \InvalidArgumentException implements Exception
+class MissingMandatoryParametersException extends \InvalidArgumentException implements ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/Routing/Exception/ResourceNotFoundException.php

@@ -18,6 +18,6 @@ namespace Symfony\Component\Routing\Exception;
  *
  * @author Kris Wallsmith <kris@symfony.com>
  */
-class ResourceNotFoundException extends \RuntimeException implements Exception
+class ResourceNotFoundException extends \RuntimeException implements ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/Routing/Exception/RouteNotFoundException.php

@@ -16,6 +16,6 @@ namespace Symfony\Component\Routing\Exception;
  *
  * @author Alexandre Salomé <alexandre.salome@gmail.com>
  */
-class RouteNotFoundException extends \InvalidArgumentException implements Exception
+class RouteNotFoundException extends \InvalidArgumentException implements ExceptionInterface
 {
 }