From 86eda8ede57d294fbd13014ae53136e0ae38cd16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Mon, 29 Apr 2024 20:02:09 +0200 Subject: [PATCH] add filters for level 4 (#29532) --- phpstan.neon.dist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 4bb2cf6eaed..72bd0fb21fb 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -44,6 +44,7 @@ parameters: polluteScopeWithAlwaysIterableForeach: true reportMagicMethods: false reportMagicProperties: false + treatPhpDocTypesAsCertain: false ignoreErrors: - '#Result of function fieldList#' - '#Caught class Stripe#' @@ -54,6 +55,7 @@ parameters: - '#(\$force_dolibarr_lib|\$dolibarr_main_db).*in empty\(\) is never defined.#' - '#Sprain\\SwissQrBill\\#' - '#Constructor of class .* has an unused parameter #' + - '#.*phan-var-force #' internalErrorsCountLimit: 50 cache: nodesByFileCountMax: 512