From d3b45fbdc5790e343fb25bb2fb497f5263cc2e75 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Tue, 16 Feb 2021 14:53:21 -0500 Subject: [PATCH] Make PHPStan errors CI failures --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0abe3756..29258437 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,8 +37,8 @@ pipeline { stage('Code Cleanliness') { agent any steps { - sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle-result.xml" - recordIssues(tools: [checkStyle(reportEncoding: 'UTF-8')]) + sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon" + recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')]) } } stage('Coverage') {