generated from thesis-php/template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
27 lines (25 loc) · 835 Bytes
/
phpstan.dist.neon
File metadata and controls
27 lines (25 loc) · 835 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
includes:
- /composer/vendor/phpstan/phpstan-strict-rules/rules.neon
- /composer/vendor/phpstan/phpstan-phpunit/extension.neon
- /composer/vendor/phpstan/phpstan-phpunit/rules.neon
parameters:
level: max
paths:
- examples
- src
- tests
tmpDir: var/phpstan
editorUrl: ''
editorUrlTitle: '%%relFile%%:%%line%%'
stubFiles:
- stubs/amphp.phpstub
# strict rules
checkBenevolentUnionTypes: true
checkMissingCallableSignature: true
# checkMissingOverrideMethodAttribute: true
checkUninitializedProperties: true
# rememberPossiblyImpureFunctionValues: false
reportAlwaysTrueInLastCondition: true
reportAnyTypeWideningInVarTag: true
reportPossiblyNonexistentConstantArrayOffset: true
reportPossiblyNonexistentGeneralArrayOffset: true