mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
Throw exception on E_NOTICE
Use of uninitialized values must be detected asap.
This commit is contained in:
parent
2cd8e14998
commit
6ba4e55277
@ -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…
x
Reference in New Issue
Block a user