mirror of
https://github.com/moodle/moodle.git
synced 2025-03-25 01:50:55 +01:00
Right now, any E_DEPRECATED, E_USER_DEPRECATED error type leads to exception in behat runs, because the behat error handled is not aware of them. See MDL-38041 for the initial implementation. We don't want that to happen and they must behave like other "low" error types (notices, warnings...), that will be reported in logs or output, but won't trigger any exception, so the test can continue. This commit just adds those 2 "new" error types to the handler, providing the very same behaviour for them than the rest.