]> git.joonet.de Git - adminer.git/commitdiff
PHPStan: Mute LANG not found
authorJakub Vrana <jakub@vrana.cz>
Fri, 28 Mar 2025 21:02:46 +0000 (22:02 +0100)
committerJakub Vrana <jakub@vrana.cz>
Fri, 28 Mar 2025 21:29:00 +0000 (22:29 +0100)
phpstan.neon

index 0f3e1910e74b7c0d3f9ac08a4b8489fa128cb4be..dc0370a037db75aa951fda3f0dbbcdcc0926973b 100644 (file)
@@ -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