Try to report phpStan errors more directly

This commit is contained in:
Timothy Warren 2021-02-12 11:27:20 -05:00
parent 66df53bf43
commit 326436c0b5

2
Jenkinsfile vendored
View File

@ -37,7 +37,7 @@ pipeline {
stage('Code Cleanliness') { stage('Code Cleanliness') {
agent any agent any
steps { 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" sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon"
recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')]) recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')])
} }
} }