-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon
More file actions
28 lines (21 loc) · 750 Bytes
/
phpstan.neon
File metadata and controls
28 lines (21 loc) · 750 Bytes
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
includes:
- vendor/larastan/larastan/extension.neon
parameters:
paths:
- src
- lang
- config
level: max
checkMissingReturnTypehint: true
checkMissingVarTagTypehint: true
checkGenericClassInNonGenericObjectType: true
checkMissingIterableValueType: true
treatPhpDocTypesAsCertain: false
reportMaybesInMethodSignatures: true
reportMaybesInPropertyPhpDocTypes: true
checkUninitializedProperties: true
checkExplicitMixed: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
ignoreErrors:
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Builder#'
- '#Call to an undefined method Illuminate\\Database\\Eloquent\\Relations\\.*#'