-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
executable file
·19 lines (16 loc) · 1.04 KB
/
phpstan.neon
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
ignoreErrors:
- '#Method App\\DTO\\.*::__construct\(\) has parameter \$\w+ with no value type specified in iterable type array#'
- '#Method App\\DTO\\.*::fromArray\(\) has parameter \$\w+ with no value type specified in iterable type array#'
- '#uses generic trait Illuminate\\Database\\Eloquent\\Factories\\HasFactory but does not specify its types#'
- '#return type with generic class Illuminate\\Database\\Eloquent\\Relations\\MorphTo does not specify its types#'
- '#return type with generic class Illuminate\\Database\\Eloquent\\Relations\\BelongsTo does not specify its types#'
- '#return type with generic class Illuminate\\Database\\Eloquent\\Relations\\HasMany does not specify its types#'
- '#return type with generic class Illuminate\\Database\\Eloquent\\Relations\\MorphMany does not specify its types#'
noUnnecessaryCollectionCall: false
paths:
- app
level: 9
treatPhpDocTypesAsCertain: false