mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Fix E_STRICT errors not being reported
This commit is contained in:
parent
a64715beeb
commit
c5aa074bff
@ -699,6 +699,7 @@ function errorHandler($errno, $errstr, $errfile, $errline) {
|
||||
case E_USER_NOTICE:
|
||||
case E_DEPRECATED:
|
||||
case E_USER_DEPRECATED:
|
||||
case E_STRICT:
|
||||
Debug::noticeHandler($errno, $errstr, $errfile, $errline, null);
|
||||
break;
|
||||
}
|
||||
|
@ -53,6 +53,10 @@ class DebugView extends Object {
|
||||
E_USER_WARNING => array(
|
||||
'title' => 'User Warning',
|
||||
'class' => 'warning'
|
||||
),
|
||||
E_STRICT => array(
|
||||
'title' => 'Strict Notice',
|
||||
'class' => 'notice'
|
||||
)
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user