From 01b9ff7f00b1682b8d2e768ef496a05e2c043c3a Mon Sep 17 00:00:00 2001 From: "Laurent Destailleur (aka Eldy)" Date: Thu, 13 Feb 2025 19:34:39 +0100 Subject: [PATCH] Add exclude file --- phpstan.neon.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 377e432596a..055432c3a90 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -21,6 +21,7 @@ parameters: analyseAndScan: - htdocs/custom/* - htdocs/documents/* + - htdocs/install/inc.php # We must exclude this file to avoid to have DOL_DOCUMENT_ROOT defined to .. by it before the bootstrap*.php file can load it. - htdocs/install/doctemplates/* - htdocs/langs/* - htdocs/modulebuilder/template/test/*