-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpstan.neon
More file actions
35 lines (31 loc) · 871 Bytes
/
Copy pathphpstan.neon
File metadata and controls
35 lines (31 loc) · 871 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
29
30
31
32
33
34
35
parameters:
level: max
tmpDir: cache/phpstan
paths:
- src
- tests
excludePaths:
- tests/fonts
- tests/resources
- vendor
type_coverage:
constant: 100
declare: 100
param: 100
property: 100
return: 100
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkMissingOverrideMethodAttribute: true
checkUninitializedProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportMaybesInMethodSignatures: true
reportMaybesInPropertyPhpDocTypes: true
reportStaticMethodSignatures: true
reportUnmatchedIgnoredErrors: true
checkDynamicProperties: true
reportNonIntStringArrayKey: true
ignoreErrors:
-
identifier: staticMethod.alreadyNarrowedType
path: tests/