-
-
Notifications
You must be signed in to change notification settings - Fork 424
Expand file tree
/
Copy pathphpstan.neon
More file actions
31 lines (30 loc) · 883 Bytes
/
Copy pathphpstan.neon
File metadata and controls
31 lines (30 loc) · 883 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
30
parameters:
level: 6
# treatPhpDocTypesAsCertain: false
paths:
- src
- tests
bootstrapFiles:
- tests/phpstan-stubs.php
strictRules:
dynamicCallOnStaticMethod: false
booleansInConditions: false
disallowedShortTernary: false
noVariableVariables: false
strictArrayFilter: false
shipmonkRules:
enableAllRules: false
enforceNativeReturnTypehint:
enabled: true
ignoreErrors:
-
identifier: missingType.iterableValue
-
identifier: cast.useless
-
identifier: missingType.parameter
path: src/DataFormatter/VarDumper/DebugBarJsonDumper.php
includes:
- vendor/phpstan/phpstan-phpunit/extension.neon
- vendor/phpstan/phpstan-strict-rules/rules.neon
- vendor/shipmonk/phpstan-rules/rules.neon