Skip to content

Commit

Permalink
Log all deprecations with debug level
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Nov 2, 2022
1 parent 052dcde commit 4c8ec6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/Log/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ private static function errnoToLogLevel(int $errno): int {
case E_USER_WARNING:
return ILogger::WARN;

case E_DEPRECATED:
case E_USER_DEPRECATED:
return ILogger::DEBUG;

Expand Down

0 comments on commit 4c8ec6d

Please sign in to comment.