Skip to content

Commit

Permalink
Merge pull request #34944 from nextcloud/backport/32565/stable25
Browse files Browse the repository at this point in the history
[stable25] Fix deprecations logged as errors
  • Loading branch information
blizzz authored Nov 21, 2022
2 parents 249cd4c + 808e604 commit 5a9eb9f
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 @@ -105,6 +105,7 @@ public 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 5a9eb9f

Please sign in to comment.