Make PHPStan errors CI failures
This commit is contained in:
parent
d3b45fbdc5
commit
e77cfcf029
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -37,8 +37,11 @@ pipeline {
|
|||||||
stage('Code Cleanliness') {
|
stage('Code Cleanliness') {
|
||||||
agent any
|
agent any
|
||||||
steps {
|
steps {
|
||||||
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon"
|
sh "php8 ./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --no-ansi "
|
||||||
recordIssues(tools: [phpStan(reportEncoding: 'UTF-8')])
|
recordIssues(
|
||||||
|
failOnError: false,
|
||||||
|
tools: [phpStan(reportEncoding: 'UTF-8')]
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Coverage') {
|
stage('Coverage') {
|
||||||
|
Loading…
Reference in New Issue
Block a user