Move phpstan config file for cleaner root.

This commit is contained in:
James Cole 2020-07-31 12:56:32 +02:00
parent b302775c37
commit c3d8d70b34
No known key found for this signature in database
GPG Key ID: B5669F9493CDE38D
3 changed files with 20 additions and 20 deletions

19
.ci/phpstan.neon Normal file
View 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

View File

@ -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

View File

@ -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