From 58663eed18a5dce736e1f64553383e2b13089ee2 Mon Sep 17 00:00:00 2001 From: MDW Date: Mon, 11 Nov 2024 10:45:11 +0100 Subject: [PATCH] Add phpstan exception --- build/phpstan/phpstan-baseline.neon | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/phpstan/phpstan-baseline.neon b/build/phpstan/phpstan-baseline.neon index 0bb4757d23c1c..ef65495ff3409 100644 --- a/build/phpstan/phpstan-baseline.neon +++ b/build/phpstan/phpstan-baseline.neon @@ -9665,6 +9665,11 @@ parameters: count: 1 path: ../../htdocs/core/lib/accounting.lib.php + - + message: "#^If condition is always false\\.$#" + count: 1 + path: ../../htdocs/core/lib/admin.lib.php + - message: "#^Offset 1 on array\\{string, non\\-falsy\\-string, string\\} in empty\\(\\) always exists and is not falsy\\.$#" count: 1