Skip to content

Commit

Permalink
Add 'Deprecated' and 'User Deprecated' errors
Browse files Browse the repository at this point in the history
  • Loading branch information
agraciakuvut committed Feb 27, 2017
1 parent c4c33df commit 918158e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ public function handleErrors($errno, $errmsg, $filename, $linenum)
E_USER_WARNING => 'User Warning',
E_USER_NOTICE => 'User Notice',
E_STRICT => 'Runtime Notice',
E_RECOVERABLE_ERROR => 'Catchable Fatal Error'
E_RECOVERABLE_ERROR => 'Catchable Fatal Error',
E_DEPRECATED => 'Deprecated',
E_USER_DEPRECATED => 'User Deprecated'
);

$errtype = (isset($errortype[$errno])) ? $errortype[$errno] : 'Unknow';
Expand Down

0 comments on commit 918158e

Please sign in to comment.