This commit is contained in:
Kamil Tekiela 2026-06-15 22:11:41 +08:00 committed by GitHub
commit ea9f2d5ffa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}