BUGFIX: Fix E_STRICT errors not being reported

This commit is contained in:
Andrew O'Neil 2012-04-11 14:39:02 +12:00
parent a64715beeb
commit c5aa074bff
2 changed files with 6 additions and 1 deletions

View File

@ -699,6 +699,7 @@ function errorHandler($errno, $errstr, $errfile, $errline) {
case E_USER_NOTICE: case E_USER_NOTICE:
case E_DEPRECATED: case E_DEPRECATED:
case E_USER_DEPRECATED: case E_USER_DEPRECATED:
case E_STRICT:
Debug::noticeHandler($errno, $errstr, $errfile, $errline, null); Debug::noticeHandler($errno, $errstr, $errfile, $errline, null);
break; break;
} }

View File

@ -53,6 +53,10 @@ class DebugView extends Object {
E_USER_WARNING => array( E_USER_WARNING => array(
'title' => 'User Warning', 'title' => 'User Warning',
'class' => 'warning' 'class' => 'warning'
),
E_STRICT => array(
'title' => 'Strict Notice',
'class' => 'notice'
) )
); );