From ea14b30283c978b436fd6c04375c744c4ff8f619 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 16 Feb 2021 15:05:17 -0500 Subject: [PATCH] Make PHPStan errors CI failures --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6b3fd6ce..ff3b0ac2 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,7 +37,7 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi | awk '{\$1=\$1;print}' > build/logs/phpstan.log" + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi | awk '{\$1=\$1;print}' > build/logs/phpstan.log" recordIssues( failOnError: false, tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]