From 9b84908b99150f957fdd2a71c5189c6a87e80f8f Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 24 Mar 2025 06:08:07 +0100 Subject: [PATCH] Notices: Require declared properties --- adminer/include/errors.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/include/errors.inc.php b/adminer/include/errors.inc.php index f27ed108..d9cc99fd 100644 --- a/adminer/include/errors.inc.php +++ b/adminer/include/errors.inc.php @@ -3,5 +3,5 @@ namespace Adminer; error_reporting(24575); // all but E_DEPRECATED (overriding mysqli methods without types is deprecated) set_error_handler(function ($errno, $errstr) { - return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined (array key|property))~', $errstr); + return !!preg_match('~^(Trying to access array offset on( value of type)? null|Undefined array key)~', $errstr); }, E_WARNING | E_NOTICE); // warning since PHP 8.0