Skip to content

Commit

Permalink
deploy: 32e9fbc
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq committed Sep 11, 2024
1 parent a5767ee commit 2451b1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,6 @@ abstract class rex_error_handler
E_USER_WARNING, E_WARNING, E_COMPILE_WARNING => 'Warning',
E_USER_NOTICE, E_NOTICE => 'Notice',
E_USER_DEPRECATED, E_DEPRECATED => 'Deprecated',
E_STRICT => 'Strict',
default => 'Unknown',
};
}
Expand Down
2 changes: 1 addition & 1 deletion files/redaxo-main/redaxo/src/core/lib/util/logger.php.txt
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ class rex_logger extends AbstractLogger
public static function getLogLevel($errno)
{
return match ($errno) {
E_STRICT, E_USER_DEPRECATED, E_DEPRECATED, E_USER_WARNING, E_WARNING, E_COMPILE_WARNING => LogLevel::WARNING,
E_USER_DEPRECATED, E_DEPRECATED, E_USER_WARNING, E_WARNING, E_COMPILE_WARNING => LogLevel::WARNING,
E_USER_NOTICE, E_NOTICE => LogLevel::NOTICE,
default => LogLevel::ERROR,
};
Expand Down

0 comments on commit 2451b1a

Please sign in to comment.