Make PHPStan errors CI failures
This commit is contained in:
parent
b393c695a5
commit
b64d8c6c5b
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -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') {
|
||||
|
Loading…
Reference in New Issue
Block a user