mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-06-04 22:23:13 -04:00
Throw exception on E_NOTICE
Use of uninitialized values must be detected asap.
This commit is contained in:
parent
2cd8e14998
commit
6ba4e55277
1 changed files with 1 additions and 0 deletions
|
|
@ -459,6 +459,7 @@ abstract class ApplicationBootstrap
|
|||
return false; // Continue with the normal error handler
|
||||
}
|
||||
switch($errno) {
|
||||
case E_NOTICE:
|
||||
case E_WARNING:
|
||||
case E_STRICT:
|
||||
throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
|
||||
|
|
|
|||
Loading…
Reference in a new issue