From: Jakub Vrana Date: Fri, 28 Mar 2025 21:02:46 +0000 (+0100) Subject: PHPStan: Mute LANG not found X-Git-Tag: v5.1.1~84 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=1eb7538e8c2179fd863d90fbcb1623be61151b8f;p=adminer.git PHPStan: Mute LANG not found --- diff --git a/phpstan.neon b/phpstan.neon index 0f3e1910..dc0370a0 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -13,6 +13,7 @@ parameters: - "~^Function (set_magic_quotes_runtime|mysql_)~" # PHP < 7 functions - "~an unknown class OCI-?Lob~" # this looks like PHPStan bug - "~^Variable \\$(adminer|connection|driver|drivers|error|permanent|translations) might not be defined~" # declared in bootstrap.inc.php + - "~^Constant LANG not found~" # defined in lang.inc.php - "~expects int, float given~" # this will work - "~expects bool~" # truthy values - "~fread expects int<1, max>, 100000~" # 1e6