diff --git a/.ci/phpstan.neon b/.ci/phpstan.neon index ccbfbd9b6d..4cdb120e5a 100644 --- a/.ci/phpstan.neon +++ b/.ci/phpstan.neon @@ -10,12 +10,9 @@ parameters: - '#is neither abstract nor final#' paths: - ../app - - ../config - ../database - - ../resources - ../routes - ../bootstrap/app.php - # The level 8 is the highest level. original was 5 level: 0 diff --git a/.ci/phpstan.sh b/.ci/phpstan.sh index 35f44a111c..07801129d4 100755 --- a/.ci/phpstan.sh +++ b/.ci/phpstan.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash # Install composer packages -composer install --no-suggest --no-scripts --no-ansi +composer install --no-suggest --no-scripts --no-ansi &> /dev/null # Do static code analysis. -./vendor/bin/phpstan analyse -c .ci/phpstan.neon > phpstan.txt +./vendor/bin/phpstan analyse -c .ci/phpstan.neon --no-progress --errorFormat=raw > phpstan.txt + +exit 0 \ No newline at end of file