-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpstan.dist.neon
35 lines (27 loc) · 1.01 KB
/
phpstan.dist.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
27
28
29
30
31
32
33
34
35
parameters:
type_coverage:
return_type: 100
param_type: 98
property_type: 100
constant_type: 0
print_suggestions: true
declare: 100
parallel:
# this should be LESS than you total number of cores to prevent clogging your system
maximumNumberOfProcesses: 2
tmpDir: .phpstan
level: max
paths:
- src/
- tests/
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
excludePaths:
- %rootDir%/../../../vendor/*
- %rootDir%/../../../tests/*
ignoreErrors:
- '#Property .+::\$.+ is never read, only written.#'
- '#(Property|Method) .+::.+ type has no value type specified in iterable type array.#'
- '#Method .+::.+\(\) has parameter \$.+ with no value type specified in iterable type array.#'
- '#Method .+JmsDateTimeHandler::.+\(\).+type specified.#'
- '#Method CXml\\Context::getOption\(\) has no return type specified.#'
reportUnmatchedIgnoredErrors: false