-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.neon.dist
More file actions
42 lines (41 loc) · 1.55 KB
/
Copy pathphpstan.neon.dist
File metadata and controls
42 lines (41 loc) · 1.55 KB
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
41
42
includes:
- vendor/phpstan/phpstan/conf/bleedingEdge.neon
- phpstan-baseline.neon
parameters:
level: max
tmpDir: .phpstan/cache
paths:
- src
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkMissingCallableSignature: true
checkBenevolentUnionTypes: true
checkExplicitMixedMissingReturn: true
checkTooWideParameterOutInProtectedAndPublicMethods: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkTooWideThrowTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkDynamicProperties: true
inferPrivatePropertyTypeFromConstructor: true
checkStrictPrintfPlaceholderTypes: true
reportMaybesInMethodSignatures: true
reportMaybesInPropertyPhpDocTypes: true
reportStaticMethodSignatures: true
reportWrongPhpDocTypeInVarTag: true
reportAnyTypeWideningInVarTag: true
reportNonIntStringArrayKey: true
reportUnsafeArrayStringKeyCasting: prevent
reportPossiblyNonexistentGeneralArrayOffset: true
reportPossiblyNonexistentConstantArrayOffset: true
checkMissingOverrideMethodAttribute: true
checkMissingOverridePropertyAttribute: true
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
polluteScopeWithBlock: false
rememberPossiblyImpureFunctionValues: false
reportIgnoresWithoutComments: true
exceptions:
check:
missingCheckedExceptionInThrows: true
tooWideImplicitThrowType: true
throwTypeCovariance: true