mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:24:04 +00:00
add phpstan (#926)
This commit is contained in:
parent
eade69c3f4
commit
fb8b9c1614
2 changed files with 20 additions and 1 deletions
|
|
@ -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
18
phpstan.neon
Normal 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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue