Merge branch 'MDL-77417_39' of https://github.com/stronk7/moodle into MOODLE_39_STABLE
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ function behat_error_handler($errno, $errstr, $errfile, $errline, $errcontext) {
|
||||
// set to DEVELOPER and will always include E_NOTICE,E_USER_NOTICE... as part of E_ALL, if the current
|
||||
// error_reporting() value does not include one of those levels is because it has been forced through
|
||||
// the moodle code (see fix_utf8() for example) in that cases we respect the forced error level value.
|
||||
$respect = array(E_NOTICE, E_USER_NOTICE, E_STRICT, E_WARNING, E_USER_WARNING);
|
||||
$respect = array(E_NOTICE, E_USER_NOTICE, E_STRICT, E_WARNING, E_USER_WARNING, E_DEPRECATED, E_USER_DEPRECATED);
|
||||
foreach ($respect as $respectable) {
|
||||
|
||||
// If the current value does not include this kind of errors and the reported error is
|
||||
|
||||
Reference in New Issue
Block a user