Browse Source

[DependencyInjection] renamed Exception interface to ExceptionInterface to follow CS

Fabien Potencier 14 years ago
parent
commit
0e65bc746e

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

@@ -12,11 +12,11 @@
 namespace Symfony\Component\DependencyInjection\Exception;
 
 /**
- * Exception
+ * ExceptionInterface
  *
  * @author Fabien Potencier <fabien@symfony.com>
  * @author Bulat Shakirzyanov <bulat@theopenskyproject.com>
  */
-interface Exception
+interface ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/DependencyInjection/Exception/InvalidArgumentException.php

@@ -18,6 +18,6 @@ use \InvalidArgumentException as BaseInvalidArgumentException;
  *
  * @author Bulat Shakirzyanov <bulat@theopenskyproject.com>
  */
-class InvalidArgumentException extends BaseInvalidArgumentException implements Exception
+class InvalidArgumentException extends BaseInvalidArgumentException implements ExceptionInterface
 {
 }

+ 1 - 1
src/Symfony/Component/DependencyInjection/Exception/RuntimeException.php

@@ -7,6 +7,6 @@ namespace Symfony\Component\DependencyInjection\Exception;
  *
  * @author Johannes M. Schmitt <schmittjoh@gmail.com>
  */
-class RuntimeException extends \RuntimeException implements Exception
+class RuntimeException extends \RuntimeException implements ExceptionInterface
 {
 }