From: Jakub Vrana Date: Mon, 24 Mar 2025 05:08:07 +0000 (+0100) Subject: Notices: Require declared properties X-Git-Tag: v5.1.0~25 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=9b84908b99150f957fdd2a71c5189c6a87e80f8f;p=adminer.git Notices: Require declared properties --- 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