From 5185cfefd86425bab8bc02f04ea4f9807853c7a7 Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 5 Apr 2024 05:58:07 +0200 Subject: [PATCH] move ignore error section in include section of phpstan config --- tests/php-static-analysis/config/base.dist.neon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/php-static-analysis/config/base.dist.neon b/tests/php-static-analysis/config/base.dist.neon index d83b3dac8b..84a87f6c36 100644 --- a/tests/php-static-analysis/config/base.dist.neon +++ b/tests/php-static-analysis/config/base.dist.neon @@ -1,10 +1,11 @@ includes: - php-includes/set-php-version-from-process.php # Workaround to set PHP version to the on running the CLI + # for an explanation of the baseline concept, see: https://phpstan.org/user-guide/baseline + #baseline HERE DO NOT REMOVE FOR CI parameters: level: 0 #phpVersion: null # Explicitly commented as we rather use the detected version from the above include (`php-includes/target-php-version.php`) - #baseline: ../baselines/baseline.neon editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%' # Open in PHPStorm asit is Combodo's default IDE bootstrapFiles: - ../../../approot.inc.php