Browse Source

Fix false positive

Laurent Destailleur 1 year ago
parent
commit
196017f957
1 changed files with 1 additions and 0 deletions
  1. 1 0
      phpstan.neon

+ 1 - 0
phpstan.neon

@@ -68,6 +68,7 @@ parameters:
 		- '#Empty array passed to foreach#'
 		- '#in isset\(\) is not nullable#'
 		- '#in isset\(\) is never defined#'
+		- '#(\$force_dolibarr_lib|\$dolibarr_main_db).*in empty\(\) is never defined.#'
 		- '#Sprain\\SwissQrBill\\#'
 	internalErrorsCountLimit: 50
 	cache: