-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan.neon.dist
40 lines (32 loc) · 1 KB
/
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
40
includes:
- phpstan-baseline.neon
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
paths:
- 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:
- Fcno\CorporateImporter\Models\Cargo
- Fcno\CorporateImporter\Models\Funcao
- Fcno\CorporateImporter\Models\Lotacao
- Fcno\CorporateImporter\Models\Usuario
# https://phpstan.org/user-guide/ignoring-errors
ignoreErrors:
-
message: '#Call to method up\(\) on an unknown class#'
path: tests/TestCase.php
-
message: '#Instantiated class Create[a-zA-Z]+Table not found#'
path: tests/TestCase.php
-
message: '#Undefined variable: \$this#'
path: tests/*
tmpDir: build/phpstan
checkOctaneCompatibility: true
checkModelProperties: true
checkMissingIterableValueType: false