-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon
36 lines (23 loc) · 1.12 KB
/
phpstan.neon
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
32
33
34
35
36
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- app/
- tests/
- database/
- routes/
- resources/
ignoreErrors:
# to ignore these errors : Call to an undefined method Symfony\Component\HttpFoundation\Request::all().
# '#Call to an undefined method [a-zA-Z0-9\\_::]#'
# to ignore this error : Access to an undefined property App\Http\Resources\LocationResource::$id.
# - '#Access to an undefined property App\\Http\\Resources\\[a-zA-Z0-9::a-zA-Z]#'
# to ignore this error : Cannot access property $id on object|string|null.
# - '#Cannot access property \$[a-zA-Z0-9]#'
# to ignore these errors : Method App\Models\User::role() return type with generic class
# Illuminate\Database\Eloquent\Relations\BelongsTo does not specify its types: TRelatedModel, TChildModel
- identifier: missingType.generics
# to ignore the iterable array value
# checkMissingIterableValueType: false
# Level 9 is the highest level
level: 9