-
Notifications
You must be signed in to change notification settings - Fork 10
/
phpstan.neon.dist
31 lines (23 loc) · 1 KB
/
phpstan.neon.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
paths:
- app
- resources/lang
- routes
# exclude console.php because of false positive with $this in the closure.
# see: https://github.com/nunomaduro/larastan/issues/140
excludePaths:
- routes/console.php
# The level 9 is the highest level
level: 5
ignoreErrors:
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder::withExtraAttributes\(\)#'
- '#Call to private method whereDate\(\) of parent class Illuminate\\Database\\Eloquent\\Relations\\HasMany<Illuminate\\Database\\Eloquent\\Model>#'
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\MorphMany::statuses\(\)#'
checkMissingIterableValueType: false
scanFiles:
- vendor/chinleung/laravel-locales/src/helpers.php
treatPhpDocTypesAsCertain: false
universalObjectCratesClasses:
- Spatie\SchemalessAttributes\Casts\SchemalessAttributes::class