-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.neon
25 lines (23 loc) · 901 Bytes
/
phpstan.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
parameters:
phpVersion: 80000
level: 9
paths:
- src
ignoreErrors:
- '#Parameter \#[0-9] [a-zA-Z0-9\\_]+ of class ReflectionClass constructor expects class-string<T of object>|T of object, string given.#'
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
reportMaybesInMethodSignatures: true
reportMaybesInPropertyPhpDocTypes: true
reportStaticMethodSignatures: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkUninitializedProperties: true
checkDynamicProperties: true
checkImplicitMixed: true
checkBenevolentUnionTypes: true