Skip to content

Commit

Permalink
prevent E_STRICT notice
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Oct 15, 2024
1 parent 975f19e commit 1d7cc8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ public static function getErrNoString($errno)
return "User Warning";
case E_USER_NOTICE:
return "User Notice";
case E_STRICT:
return "Strict Notice";
/*case E_STRICT:
return "Strict Notice";*/
case E_RECOVERABLE_ERROR:
return "Recoverable Error";
case E_DEPRECATED:
Expand Down Expand Up @@ -160,7 +160,7 @@ public static function errorHandler($errno, $errstr, $errfile, $errline)
case E_NOTICE:
case E_USER_WARNING:
case E_USER_NOTICE:
case E_STRICT:
//case E_STRICT:
case E_RECOVERABLE_ERROR:
case E_DEPRECATED:
case E_USER_DEPRECATED:
Expand Down

0 comments on commit 1d7cc8c

Please sign in to comment.