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/*