Try to report phpStan errors more directly

This commit is contained in:
Timothy Warren 2021-02-12 11:57:36 -05:00
parent b2761541ec
commit 61d44146cd

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-progress --no-ansi -vvv > build/logs/phpstan.log 2> /dev/null" sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --no-progress --no-ansi -vvv 2> build/logs/phpstan.log"
recordIssues( recordIssues(
failOnError: false, failOnError: false,
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')] tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]