Do you wish to register an account?
Browse Source

Make PHPStan errors CI failures

develop
Timothy Warren 1 week ago
parent
commit
49c6b633bf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Jenkinsfile

+ 1
- 1
Jenkinsfile View File

@ -37,7 +37,7 @@ pipeline {
stage('Code Cleanliness') {
agent any
steps {
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon -n --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 --error-format=checkstyle | awk '{\$1=\$1;print}' > build/logs/phpstan.log"
recordIssues(
failOnError: false,
tools: [phpStan(reportEncoding: 'UTF-8', pattern: 'build/logs/phpstan.log')]


Loading…
Cancel
Save