Attempt to add PHPStan messages to CI

This commit is contained in:
Timothy Warren 2021-02-12 09:42:54 -05:00
parent 0c592b4932
commit dabb6be291

2
Jenkinsfile vendored
View File

@ -37,7 +37,7 @@ pipeline {
stage('Code Cleanliness') {
agent any
steps {
sh 'php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{$1=$1;print}' > build/logs/checkstyle.xml'
sh "php ./vendor/bin/phpstan analyse src/ -l max -c phpstan.neon -n --no-ansi --no-progress --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/checkstyle.xml"
checkstyle 'build/logs/checkstyle.xml'
}
}