This repository has been archived by the owner on Mar 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
psalm-baseline.xml
146 lines (146 loc) · 5.04 KB
/
psalm-baseline.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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.18.1@dda05fa913f4dc6eb3386f2f7ce5a45d37a71bcb">
<file src="src/AuthenticationRequestHeaderProvider.php">
<PossiblyNullArgument occurrences="2">
<code>$request->getSecret()</code>
<code>$request->getUsername()</code>
</PossiblyNullArgument>
</file>
<file src="src/Gateway.php">
<LessSpecificReturnStatement occurrences="1">
<code>$this</code>
</LessSpecificReturnStatement>
<MissingReturnType occurrences="5">
<code>authorize</code>
<code>capture</code>
<code>refund</code>
<code>setBaseUrl</code>
<code>void</code>
</MissingReturnType>
<MoreSpecificReturnType occurrences="1">
<code>self</code>
</MoreSpecificReturnType>
</file>
<file src="src/Item.php">
<MissingReturnType occurrences="6">
<code>setMerchantData</code>
<code>setTaxRate</code>
<code>setTotalAmount</code>
<code>setTotalDiscountAmount</code>
<code>setTotalTaxAmount</code>
<code>setType</code>
</MissingReturnType>
</file>
<file src="src/ItemBag.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>ItemInterface[]</code>
</ImplementedReturnTypeMismatch>
<MissingReturnType occurrences="1">
<code>add</code>
</MissingReturnType>
<PossiblyInvalidArgument occurrences="1">
<code>$item</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Message/AbstractOrderRequest.php">
<PossiblyNullReference occurrences="1">
<code>getAmount</code>
</PossiblyNullReference>
</file>
<file src="src/Message/AbstractRequest.php">
<ImplementedReturnTypeMismatch occurrences="1">
<code>Money|null</code>
</ImplementedReturnTypeMismatch>
<MissingReturnType occurrences="2">
<code>setLocale</code>
<code>setTaxAmount</code>
</MissingReturnType>
<PossiblyInvalidArgument occurrences="1">
<code>$items</code>
</PossiblyInvalidArgument>
</file>
<file src="src/Message/AcknowledgeRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>AcknowledgeRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/AuthorizeRequest.php">
<ImplicitToStringCast occurrences="1">
<code>$response->getBody()</code>
</ImplicitToStringCast>
<PropertyNotSetInConstructor occurrences="1">
<code>AuthorizeRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/AuthorizeResponse.php">
<InvalidNullableReturnType occurrences="2">
<code>getRedirectData</code>
<code>getRedirectUrl</code>
</InvalidNullableReturnType>
<MissingParamType occurrences="2">
<code>$data</code>
<code>$renderUrl</code>
</MissingParamType>
<NullableReturnStatement occurrences="2">
<code>$this->renderUrl</code>
<code>null</code>
</NullableReturnStatement>
</file>
<file src="src/Message/CaptureRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>CaptureRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/ExtendAuthorizationRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>ExtendAuthorizationRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/FetchTransactionRequest.php">
<PossiblyUndefinedVariable occurrences="1">
<code>$responseData</code>
</PossiblyUndefinedVariable>
<PropertyNotSetInConstructor occurrences="1">
<code>FetchTransactionRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/RefundRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>RefundRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/UpdateCustomerAddressRequest.php">
<PossiblyNullReference occurrences="2">
<code>getArrayCopy</code>
<code>getArrayCopy</code>
</PossiblyNullReference>
<PropertyNotSetInConstructor occurrences="1">
<code>UpdateCustomerAddressRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/UpdateCustomerAddressResponse.php">
<RedundantCastGivenDocblockType occurrences="1">
<code>(int) $statusCode</code>
</RedundantCastGivenDocblockType>
</file>
<file src="src/Message/UpdateMerchantReferencesRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>UpdateMerchantReferencesRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/UpdateTransactionRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>UpdateTransactionRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="src/Message/VoidRequest.php">
<PropertyNotSetInConstructor occurrences="1">
<code>VoidRequest</code>
</PropertyNotSetInConstructor>
</file>
<file src="vendor/omnipay/common/src/Common/ParametersTrait.php">
<MissingDocblockType occurrences="1">
<code>public function initialize(array $parameters = [])</code>
</MissingDocblockType>
</file>
</files>