1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 06:44:04 +00:00

add phpstan (#926)

This commit is contained in:
Abrar Ahmad 2022-08-29 23:55:33 +05:00 committed by GitHub
parent eade69c3f4
commit fb8b9c1614
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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