Skip to content

Commit

Permalink
Marker interfaces for exception should extend Throwable
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Sep 7, 2019
1 parent 7fdbf5c commit da34f4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
/**
* Marker interface for PHPUnit exceptions.
*/
interface Exception
interface Exception extends \Throwable
{
}
2 changes: 1 addition & 1 deletion src/Framework/MockObject/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
/**
* Interface for exceptions used by PHPUnit_MockObject.
*/
interface Exception
interface Exception extends \Throwable
{
}

0 comments on commit da34f4f

Please sign in to comment.