Make PHPStan errors CI failures
This commit is contained in:
parent
78426c8f82
commit
ea14b30283
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -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 --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 | awk '{\$1=\$1;print}' > 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')]
|
||||||
|
Loading…
Reference in New Issue
Block a user