mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Push better PHPStan config.
This commit is contained in:
@@ -14,7 +14,6 @@ parameters:
|
||||
- ../database
|
||||
- ../resources
|
||||
- ../routes
|
||||
- ../tests
|
||||
- ../bootstrap/app.php
|
||||
|
||||
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
FF_DIR=$PWD
|
||||
# Install composer packages
|
||||
composer install --no-suggest --no-scripts --no-ansi
|
||||
|
||||
# single line install command
|
||||
composer global require hirak/prestissimo \
|
||||
--no-plugins --no-scripts
|
||||
|
||||
cd $FF_DIR
|
||||
|
||||
echo "Changed back to '$FF_DIR'"
|
||||
|
||||
composer install
|
||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon
|
||||
# Do static code analysis.
|
||||
./vendor/bin/phpstan analyse -c .ci/phpstan.neon > phpstan.txt
|
||||
|
||||
Reference in New Issue
Block a user