mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 10:53:37 +00:00
Move phpstan config file for cleaner root.
This commit is contained in:
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
|
composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --no-suggest
|
||||||
|
|
||||||
- name: Execute PHPStan
|
- 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
|
|
Reference in New Issue
Block a user