-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
39 lines (31 loc) · 974 Bytes
/
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
32
33
34
35
36
37
38
39
includes:
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
paths:
- config
- database
- lang
- src
- tests
# The level 9 is the highest level
# https://phpstan.org/user-guide/rule-levels
level: 5
# https://phpstan.org/config-reference#universal-object-crates
universalObjectCratesClasses:
- FruiVita\Corporate\Models\Occupation
- FruiVita\Corporate\Models\Duty
- FruiVita\Corporate\Models\Department
- FruiVita\Corporate\Models\User
# https://phpstan.org/user-guide/ignoring-errors
ignoreErrors:
-
message: '#Undefined variable: \$this#'
path: tests/*
-
message: '#Call to an undefined static method Illuminate\\Support\\Facades\\[a-zA-Z]+\:\:should[Not]*HaveReceived\(\)#'
path: tests/*
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false