From d12a43a45e208322c8627312b32b4da7ae7ae29a Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Thu, 22 Feb 2024 10:07:46 +0100 Subject: [PATCH] Include and exclude some more default pathes to/from phpstan --- phpstan.neon | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 9e185fd..c65b31c 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,6 +5,7 @@ parameters: inferPrivatePropertyTypeFromConstructor: true paths: - inc/ + - src/ - plugin.php excludePaths: analyse: @@ -14,6 +15,9 @@ parameters: # and not running within ft-platform - wp-content/ - tests/ + analyseAndScan: + - build/ + - node_modules/ ignoreErrors: # Find a nicer way instead of ignoring this Error on every ft-module - '#Function Altis\\register_module not found\.#'