-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpstan.src.neon
26 lines (24 loc) · 902 Bytes
/
phpstan.src.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
includes:
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
parameters:
level: 8
tmpDir: var/cache/_phpstan
parallel:
jobSize: 20
maximumNumberOfProcesses: 16
minimumNumberOfJobsPerProcess: 2
processTimeout: 30.0
tipsOfTheDay: false
polluteScopeWithLoopInitialAssignments: false
polluteScopeWithAlwaysIterableForeach: false
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
reportMaybesInMethodSignatures: true
reportStaticMethodSignatures: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
treatPhpDocTypesAsCertain: false
checkMissingIterableValueType: false # handled by PHPCs with more granularity