Skip to content

Commit 8b518e4

Browse files
committed
Add Github\Exception\ExceptionInterface
1 parent 748d583 commit 8b518e4

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

lib/Github/Exception/ErrorException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @author Joseph Bielawski <stloyd@gmail.com>
99
*/
10-
class ErrorException extends \ErrorException
10+
class ErrorException extends \ErrorException implements ExceptionInterface
1111
{
1212

1313
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?php
2+
3+
namespace Github\Exception;
4+
5+
interface ExceptionInterface
6+
{
7+
8+
}

lib/Github/Exception/InvalidArgumentException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @author Joseph Bielawski <stloyd@gmail.com>
99
*/
10-
class InvalidArgumentException extends \InvalidArgumentException
10+
class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
1111
{
1212

1313
}

lib/Github/Exception/RuntimeException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* @author Joseph Bielawski <stloyd@gmail.com>
99
*/
10-
class RuntimeException extends \RuntimeException
10+
class RuntimeException extends \RuntimeException implements ExceptionInterface
1111
{
1212

1313
}

0 commit comments

Comments
 (0)