Commit 1f9b6766 authored by Nigel McNie's avatar Nigel McNie
Browse files

Make sure we output E_RECOVERABLE_ERROR warnings.



Missing these meant we were missing a whole class of errors, most
notably, when type hints were being ignored.
Signed-off-by: default avatarNigel McNie <nigel@catalyst.net.nz>
parent 4661ae54
......@@ -406,6 +406,7 @@ function error ($code, $message, $file, $line, $vars) {
static $error_lookup = array(
E_NOTICE => 'Notice',
E_WARNING => 'Warning',
E_RECOVERABLE_ERROR => 'Warning',
// Not sure if these ever get handled here
E_ERROR => 'Error',
// These three are not used by this application but may be used by third parties
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment