Skip to content

Commit

Permalink
Deprecate exception class (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunicmarko20 authored Oct 3, 2018
1 parent 9ca27b3 commit 7d428b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@

use Exception as BaseException;

@trigger_error(
'The '.__NAMESPACE__.'Exception is deprecated since 1.x '.
'and will be removed with the 2.0 release.',
E_USER_DEPRECATED
);

/**
* @author GeLo <[email protected]>
*/
Expand Down

0 comments on commit 7d428b1

Please sign in to comment.