1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 13:34:04 +00:00

add phpstan

This commit is contained in:
Abrar Ahmad 2022-08-29 15:43:11 +05:00
parent eade69c3f4
commit e20de6a092
2 changed files with 20 additions and 1 deletions

View file

@ -29,7 +29,8 @@
"league/flysystem-aws-s3-v3": "^3.0",
"doctrine/dbal": "^2.10",
"spatie/valuestore": "^1.2.5",
"pestphp/pest": "^1.21"
"pestphp/pest": "^1.21",
"nunomaduro/larastan": "^1.0"
},
"autoload": {
"psr-4": {

18
phpstan.neon Normal file
View file

@ -0,0 +1,18 @@
includes:
- ./vendor/nunomaduro/larastan/extension.neon
parameters:
paths:
- src
# - tests
level: 8
universalObjectCratesClasses:
- Illuminate\Routing\Route
ignoreErrors:
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false