generated from thesis-php/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpstan.dist.neon
More file actions
29 lines (27 loc) · 936 Bytes
/
phpstan.dist.neon
File metadata and controls
29 lines (27 loc) · 936 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
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%%'
# strict rules
checkBenevolentUnionTypes: true
checkMissingCallableSignature: true
# checkMissingOverrideMethodAttribute: true
checkUninitializedProperties: true
# rememberPossiblyImpureFunctionValues: false
reportAlwaysTrueInLastCondition: true
reportAnyTypeWideningInVarTag: true
reportPossiblyNonexistentConstantArrayOffset: true
reportPossiblyNonexistentGeneralArrayOffset: true
ignoreErrors:
-
identifier: property.uninitialized
path: src/Server/Internal/Http2/ConcurrentServerStream.php