mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Move phpstan config file for cleaner root.
This commit is contained in:
parent
b302775c37
commit
c3d8d70b34
19
.ci/phpstan.neon
Normal file
19
.ci/phpstan.neon
Normal file
@ -0,0 +1,19 @@
|
||||
includes:
|
||||
- ../vendor/nunomaduro/larastan/extension.neon
|
||||
- ../vendor/ergebnis/phpstan-rules/rules.neon
|
||||
- ../vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
||||
- ../vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
|
||||
|
||||
parameters:
|
||||
|
||||
paths:
|
||||
- ../app
|
||||
- ../config
|
||||
- ../database
|
||||
- ../resources
|
||||
- ../routes
|
||||
- ../tests
|
||||
- ../bootstrap/app.php
|
||||
|
||||
# The level 8 is the highest level
|
||||
level: 5
|
2
.github/workflows/laravel.yml
vendored
2
.github/workflows/laravel.yml
vendored
@ -152,4 +152,4 @@ jobs:
|
||||
composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --no-suggest
|
||||
|
||||
- name: Execute PHPStan
|
||||
run: vendor/bin/phpstan analyse
|
||||
run: vendor/bin/phpstan analyse -c .ci/phpstan.neon
|
||||
|
19
phpstan.neon
19
phpstan.neon
@ -1,19 +0,0 @@
|
||||
includes:
|
||||
- ./vendor/nunomaduro/larastan/extension.neon
|
||||
- ./vendor/ergebnis/phpstan-rules/rules.neon
|
||||
- ./vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
||||
- ./vendor/thecodingmachine/phpstan-strict-rules/phpstan-strict-rules.neon
|
||||
|
||||
parameters:
|
||||
|
||||
paths:
|
||||
- app
|
||||
- config
|
||||
- database
|
||||
- resources
|
||||
- routes
|
||||
- tests
|
||||
- bootstrap/app.php
|
||||
|
||||
# The level 8 is the highest level
|
||||
level: 5
|
Loading…
Reference in New Issue
Block a user