-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathphpstan.neon
44 lines (42 loc) · 1.36 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
includes:
- phpstan-baseline.neon
# - vendor/roave/no-floaters/rules.neon
# - vendor/phpstan/phpstan-strict-rules/rules.neon
# - vendor/ergebnis/phpstan-rules/rules.neon
# - vendor/ekino/phpstan-banned-code/extension.neon
parameters:
level: 4
paths:
- config
- routes
- src
tmpDir: build/phpstan
friendly:
lineBefore: 3
lineAfter: 3
editorUrl: 'phpstorm://open?file=%%file%%&line=%%line%%'
errorFormat: friendly
# errorFormat: symplify
# checkOctaneCompatibility: true
# checkModelProperties: true
# checkMissingIterableValueType: true
# disallowFloatsEverywhere: true
# strictRules:
# allRules: false
# booleansInConditions: false
# uselessCast: false
# requireParentConstructorCall: false
# disallowedConstructs: false
# overwriteVariablesWithLoop: false
# closureUsesThis: false
# matchingInheritedMethodNames: false
# numericOperandsInArithmeticOperators: false
# strictCalls: false
# switchConditionsMatchingType: false
# noVariableVariables: false
ignoreErrors:
# - "#^Unsafe usage of new static\\(\\)\\.$#"
# - '#^Unused result of "and" operator\.$#'
# -
# message: '#^Calling var_dump\(\) is forbidden, use some logger instead\.$#'
# path: src/Soar.php