-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathphpstan.neon
35 lines (33 loc) · 1.14 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
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: 5
paths:
- app
- tests
tmpDir: build/phpstan
# 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:
- "#^Call to an undefined method #"
- "#^Call to an undefined static method Illuminate\\\\Support\\\\Str\\:\\:jsonValidate\\(\\)\\.$#"
- "#^Undefined variable\\: \\$this$#"