-
Notifications
You must be signed in to change notification settings - Fork 53
/
psalm.xml
101 lines (100 loc) · 4.56 KB
/
psalm.xml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<?xml version="1.0"?>
<psalm
errorLevel="4"
useDocblockPropertyTypes="true"
usePhpDocMethodsWithoutMagicCall="true"
strictBinaryOperands="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
hideExternalErrors="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src" />
<file name="mollie-payments-for-woocommerce.php"/>
<ignoreFiles>
<directory name="vendor" />
<directory name="tests" />
</ignoreFiles>
</projectFiles>
<stubs>
<file name="inc/functions.php"/>
<file name=".psalm/stubs.php"/>
<file name="vendor/php-stubs/wordpress-stubs/wordpress-stubs.php"/>
<file name="vendor/php-stubs/woocommerce-stubs/woocommerce-stubs.php"/>
<file name="vendor/php-stubs/woocommerce-stubs/woocommerce-packages-stubs.php"/>
</stubs>
<issueHandlers>
<MixedAssignment errorLevel="suppress" />
<MissingClosureParamType errorLevel="suppress" />
<MissingClosureReturnType errorLevel="suppress" />
<UnresolvableInclude errorLevel="suppress" />
<ParadoxicalCondition errorLevel="suppress" />
<UndefinedConstant errorLevel="info" />
<AssignmentToVoid errorLevel="info"/>
<DeprecatedClass errorLevel="info"/>
<DeprecatedConstant errorLevel="info"/>
<DeprecatedTrait errorLevel="info"/>
<DocblockTypeContradiction errorLevel="info"/>
<InvalidDocblock errorLevel="info"/>
<InvalidDocblockParamName errorLevel="info"/>
<InvalidTemplateParam errorLevel="info"/>
<DeprecatedInterface errorLevel="info"/>
<DeprecatedMethod errorLevel="info"/>
<DeprecatedProperty errorLevel="info"/>
<MethodSignatureMustOmitReturnType errorLevel="info"/>
<MismatchingDocblockParamType errorLevel="info"/>
<MismatchingDocblockReturnType errorLevel="info"/>
<MissingDocblockType errorLevel="info"/>
<MissingParamType errorLevel="info"/>
<MissingTemplateParam errorLevel="info"/>
<MissingThrowsDocblock errorLevel="info"/>
<MixedArgumentTypeCoercion errorLevel="info"/>
<MixedArrayAccess errorLevel="info"/>
<MixedArrayAssignment errorLevel="info"/>
<MixedArrayOffset errorLevel="info"/>
<MixedArrayTypeCoercion errorLevel="info"/>
<MixedAssignment errorLevel="info"/>
<MixedFunctionCall errorLevel="info"/>
<MixedInferredReturnType errorLevel="info"/>
<MixedMethodCall errorLevel="info"/>
<MixedOperand errorLevel="info"/>
<MixedPropertyAssignment errorLevel="info"/>
<MixedPropertyFetch errorLevel="info"/>
<MixedPropertyTypeCoercion errorLevel="info"/>
<MixedReturnStatement errorLevel="info"/>
<MixedReturnTypeCoercion errorLevel="info"/>
<MixedStringOffsetAssignment errorLevel="info"/>
<ParamNameMismatch errorLevel="info"/>
<RedundantCastGivenDocblockType errorLevel="info"/>
<TooManyArguments>
<errorLevel type="suppress">
<referencedFunction name="apply_filters" />
</errorLevel>
</TooManyArguments>
<UndefinedMethod errorLevel="suppress"/>
<UndefinedFunction errorLevel="suppress"/>
<UndefinedClass errorLevel="suppress"/>
<InvalidScalarArgument errorLevel="suppress"/>
<RedundantCast errorLevel="suppress"/>
<InvalidOperand errorLevel="suppress"/>
<NullArrayAccess errorLevel="suppress"/>
<RedundantCondition errorLevel="suppress"/>
<NullableReturnStatement errorLevel="suppress"/>
<InvalidArgument errorLevel="suppress"/>
<InvalidReturnType errorLevel="suppress"/>
<InvalidReturnStatement errorLevel="suppress"/>
<UndefinedDocblockClass errorLevel="suppress"/>
<FalsableReturnStatement errorLevel="suppress"/>
<InvalidParamDefault errorLevel="suppress"/>
<ImplementedReturnTypeMismatch errorLevel="suppress"/>
<MoreSpecificImplementedParamType errorLevel="suppress"/>
<MethodSignatureMismatch errorLevel="suppress"/>
<ReservedWord errorLevel="suppress"/>
<UndefinedThisPropertyFetch errorLevel="suppress"/>
<NoInterfaceProperties errorLevel="suppress"/>
<TypeDoesNotContainType errorLevel="suppress"/>
</issueHandlers>
</psalm>