From af7560862c774d32bc51fbe6e85f1d64e57f1afd Mon Sep 17 00:00:00 2001 From: Kamil Tekiela Date: Tue, 11 Nov 2025 19:09:10 +0000 Subject: [PATCH] Don't convert deprecations to exceptions Signed-off-by: Kamil Tekiela --- src/Error/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Error/ErrorHandler.php b/src/Error/ErrorHandler.php index bf3c52a0e6..5b51824632 100644 --- a/src/Error/ErrorHandler.php +++ b/src/Error/ErrorHandler.php @@ -208,7 +208,7 @@ class ErrorHandler $isSilenced = (error_reporting() & $errno) === 0; $config = Config::getInstance(); - if ($config->config->environment === 'development' && ! $isSilenced) { + if ($config->config->environment === 'development' && ! $isSilenced && $errno !== E_DEPRECATED) { throw new ErrorException($errstr, 0, $errno, $errfile, $errline); }