diff --git a/lib/Github/Exception/ErrorException.php b/lib/Github/Exception/ErrorException.php index 30290ff9d4a..dbc0056ef56 100644 --- a/lib/Github/Exception/ErrorException.php +++ b/lib/Github/Exception/ErrorException.php @@ -7,7 +7,7 @@ * * @author Joseph Bielawski */ -class ErrorException extends \ErrorException +class ErrorException extends \ErrorException implements ExceptionInterface { } diff --git a/lib/Github/Exception/ExceptionInterface.php b/lib/Github/Exception/ExceptionInterface.php new file mode 100644 index 00000000000..5984e3a4e75 --- /dev/null +++ b/lib/Github/Exception/ExceptionInterface.php @@ -0,0 +1,8 @@ + */ -class InvalidArgumentException extends \InvalidArgumentException +class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface { } diff --git a/lib/Github/Exception/RuntimeException.php b/lib/Github/Exception/RuntimeException.php index b32da0ea5cc..d3cc9fdeebc 100644 --- a/lib/Github/Exception/RuntimeException.php +++ b/lib/Github/Exception/RuntimeException.php @@ -7,7 +7,7 @@ * * @author Joseph Bielawski */ -class RuntimeException extends \RuntimeException +class RuntimeException extends \RuntimeException implements ExceptionInterface { }