Analyse less code, optimise run.

This commit is contained in:
James Cole
2020-07-31 19:15:26 +02:00
parent 749236bc8d
commit d2fd858d18
2 changed files with 4 additions and 5 deletions

View File

@@ -10,12 +10,9 @@ parameters:
- '#is neither abstract nor final#' - '#is neither abstract nor final#'
paths: paths:
- ../app - ../app
- ../config
- ../database - ../database
- ../resources
- ../routes - ../routes
- ../bootstrap/app.php - ../bootstrap/app.php
# The level 8 is the highest level. original was 5 # The level 8 is the highest level. original was 5
level: 0 level: 0

View File

@@ -1,7 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Install composer packages # 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. # 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