Commit 20de7787 authored by Benni Mack's avatar Benni Mack
Browse files

[FOLLOWUP][BUGFIX] Fix minor error handler code bugs

ErrorHandler should deal with the same severity for trigger_error()
for E_USER_DEPRECATED as GeneralUtility::deprecationLog()
when calling GeneralUtility::devLog().

Resolves: #82375
Releases: master, 8.7
Change-Id: Iaff5f96f5bd0a2d94bb3bc76d9d3fec2d019c901
Reviewed-on: https://review.typo3.org/54017

Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent f7cf1a47
......@@ -112,6 +112,7 @@ class ErrorHandler implements ErrorHandlerInterface
break;
case E_USER_WARNING:
case E_WARNING:
case E_USER_DEPRECATED:
$severity = 1;
break;
default:
......
Supports Markdown
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