forked from Hexlet/hexlet-sicp
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpstan.neon
26 lines (23 loc) · 851 Bytes
/
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
includes:
- ./vendor/larastan/larastan/extension.neon
parameters:
checkMissingIterableValueType: false
checkGenericClassInNonGenericObjectType: false
paths:
- app
- database
- config
- resources
- routes
- tests
# The level 8 is the highest level
level: 6
excludePaths:
- vendor/*
- app/Http/Controllers/Auth/*
ignoreErrors:
- '/PHPDoc type array of property App\\Models\\User::\$hidden is not covariant with PHPDoc type/'
- '/PHPDoc type array of property App\\Models\\User::\$casts is not covariant with PHPDoc type/'
- '/Unable to resolve the template type TKey in call to function collect/'
- '/Unable to resolve the template type TValue in call to function collect/'
- '/is not covariant with PHPDoc type/'