-
Notifications
You must be signed in to change notification settings - Fork 9
/
psalm.xml
154 lines (133 loc) · 4.45 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<?xml version="1.0"?>
<psalm
name="Psalm for Vindicia Omnipay driver"
useDocblockTypes="true"
>
<projectFiles>
<directory name="src" />
<directory name="tests" />
<directory name="psalm_plugins" />
</projectFiles>
<fileExtensions>
<extension name=".php" />
</fileExtensions>
<plugins>
<plugin filename="psalm_plugins/StringChecker.php" />
</plugins>
<issueHandlers>
<MixedArgument errorLevel="suppress" />
<MixedMethodCall errorLevel="suppress" />
<MixedPropertyFetch errorLevel="suppress" />
<MixedPropertyAssignment errorLevel="suppress" />
<MixedInferredReturnType errorLevel="suppress" />
<MixedArrayAccess errorLevel="suppress" />
<!-- Psalm doesn't like that initialize() sets instance variables for the constructor -->
<PropertyNotSetInConstructor errorLevel="suppress" />
<!-- Unit tests set lots of instance variables inline -->
<UndefinedThisPropertyAssignment>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</UndefinedThisPropertyAssignment>
<UndefinedThisPropertyFetch>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</UndefinedThisPropertyFetch>
<MissingPropertyType>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</MissingPropertyType>
<InaccessibleProperty>
<errorLevel type="suppress">
<directory name="tests" />
</errorLevel>
</InaccessibleProperty>
<!-- Error suppression made in June, will be removed later after fix-->
<MissingParamType errorLevel="info" />
<DuplicateArrayKey>
<errorLevel type="suppress">
<file name="tests/Message/CompleteHOARequestTest.php" />
<file name="tests/Message/HOACreateSubscriptionRequestTest.php" />
</errorLevel>
</DuplicateArrayKey>
<ImplementedReturnTypeMismatch>
<errorLevel type="info">
<file name="src/Message/AbstractRequest.php" />
<file name="src/Message/Response.php" />
</errorLevel>
</ImplementedReturnTypeMismatch>
<InvalidArgument>
<errorLevel type="suppress">
<file name="psalm_plugins/StringChecker.php" />
</errorLevel>
</InvalidArgument>
<MoreSpecificImplementedParamType>
<errorLevel type="info">
<file name="src/Message/AbstractRequest.php" />
<file name="src/Message/RefundRequest.php" />
<file name="src/TaxExemptionBag.php" />
<file name="src/VindiciaRefundItemBag.php" />
</errorLevel>
</MoreSpecificImplementedParamType>
<MoreSpecificReturnType>
<errorLevel type="suppress">
<file name="src/Message/AbstractRequest.php" />
</errorLevel>
</MoreSpecificReturnType>
<LessSpecificReturnType>
<errorLevel type="suppress">
<file name="src/Message/AbstractRequest.php" />
</errorLevel>
</LessSpecificReturnType>
<LessSpecificReturnStatement>
<errorLevel type="info">
<file name="src/Message/AbstractRequest.php" />
</errorLevel>
</LessSpecificReturnStatement>
<TypeCoercion>
<errorLevel type="info">
<file name="src/Message/AbstractRequest.php" />
</errorLevel>
</TypeCoercion>
<NullableReturnStatement>
<errorLevel type="suppress">
<file name="src/Message/CompleteHOAResponse.php" />
</errorLevel>
</NullableReturnStatement>
<PossiblyNullArrayOffset>
<errorLevel type="info">
<file name="src/PriceBag.php" />
</errorLevel>
</PossiblyNullArrayOffset>
<PossiblyNullReference>
<errorLevel type="suppress">
<file name="src/TestableSoapClient.php" />
</errorLevel>
</PossiblyNullReference>
<PossiblyNullPropertyFetch>
<errorLevel type="suppress">
<file name="src/TestableSoapClient.php" />
</errorLevel>
</PossiblyNullPropertyFetch>
<PossiblyNullArgument>
<errorLevel type="suppress">
<file name="src/TestableSoapClient.php" />
</errorLevel>
</PossiblyNullArgument>
<InvalidThrow>
<errorLevel type="suppress">
<file name="src/TestableSoapClient.php" />
</errorLevel>
</InvalidThrow>
<RedundantConditionGivenDocblockType>
<errorLevel type="info">
<file name="src/NameValue.php" />
</errorLevel>
</RedundantConditionGivenDocblockType>
</issueHandlers>
<mockClasses>
<class name="Mockery\MockInterface" />
</mockClasses>
</psalm>