-
Notifications
You must be signed in to change notification settings - Fork 106
/
phpstan-baseline.neon
235 lines (197 loc) · 11.3 KB
/
phpstan-baseline.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
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$body of method Psr\\Http\\Message\\MessageInterface\:\:withBody\(\) expects Psr\\Http\\Message\\StreamInterface, Psr\\Http\\Message\\StreamInterface\|null given\.$#'
identifier: argument.type
count: 1
path: src/Client/HttpClient.php
-
message: '#^Parameter \#1 \$content of method Psr\\Http\\Message\\StreamFactoryInterface\:\:createStream\(\) expects string, array\<string, string\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Client/HttpClient.php
-
message: '#^Default value of the parameter \#3 \$order \(array\{\}\) of method Mews\\Pos\\Crypt\\PosNetCrypt\:\:createHash\(\) is incompatible with type array\{amount\: int, currency\: string, id\: string\}\.$#'
identifier: parameter.defaultValue
count: 1
path: src/Crypt/PosNetCrypt.php
-
message: '#^PHPDoc tag @var with type array\<string, string\> is not subtype of native type array\{mixed, mixed, mixed, mixed, mixed, mixed, string\}\.$#'
identifier: varTag.nativeType
count: 1
path: src/Crypt/PosNetV1PosCrypt.php
-
message: '#^Parameter \#1 \$currency of method Mews\\Pos\\DataMapper\\RequestDataMapper\\AkbankPosRequestDataMapper\:\:mapCurrency\(\) expects ''EUR''\|''GBP''\|''JPY''\|''RUB''\|''TRY''\|''USD'', string given\.$#'
identifier: argument.type
count: 5
path: src/DataMapper/RequestDataMapper/AkbankPosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/EstPosRequestDataMapper.php
-
message: '#^Parameter \#1 \$currency of method Mews\\Pos\\DataMapper\\RequestDataMapper\\EstPosRequestDataMapper\:\:mapCurrency\(\) expects ''EUR''\|''GBP''\|''JPY''\|''RUB''\|''TRY''\|''USD'', string given\.$#'
identifier: argument.type
count: 1
path: src/DataMapper/RequestDataMapper/EstPosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/GarantiPosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/InterPosRequestDataMapper.php
-
message: '#^Default value of the parameter \#7 \$extraData \(array\{\}\) of method Mews\\Pos\\DataMapper\\RequestDataMapper\\PayFlexCPV4PosRequestDataMapper\:\:create3DFormData\(\) is incompatible with type array\{CommonPaymentUrl\: string, PaymentToken\: string\}\.$#'
identifier: parameter.defaultValue
count: 1
path: src/DataMapper/RequestDataMapper/PayFlexCPV4PosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/PayFlexCPV4PosRequestDataMapper.php
-
message: '#^Default value of the parameter \#7 \$extraData \(array\{\}\) of method Mews\\Pos\\DataMapper\\RequestDataMapper\\PayFlexV4PosRequestDataMapper\:\:create3DFormData\(\) is incompatible with type array\{PaReq\: string, TermUrl\: string, MD\: string, ACSUrl\: string\}\.$#'
identifier: parameter.defaultValue
count: 1
path: src/DataMapper/RequestDataMapper/PayFlexV4PosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/PayFlexV4PosRequestDataMapper.php
-
message: '#^Method Mews\\Pos\\DataMapper\\RequestDataMapper\\PayFlexV4PosRequestDataMapper\:\:create3DEnrollmentCheckRequestData\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/DataMapper/RequestDataMapper/PayFlexV4PosRequestDataMapper.php
-
message: '#^Default value of the parameter \#2 \$data \(array\{\}\) of method Mews\\Pos\\DataMapper\\RequestDataMapper\\PayForPosRequestDataMapper\:\:createHistoryRequestData\(\) is incompatible with type array\{transaction_date\: DateTimeInterface\}\.$#'
identifier: parameter.defaultValue
count: 1
path: src/DataMapper/RequestDataMapper/PayForPosRequestDataMapper.php
-
message: '#^Expression on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.expr
count: 1
path: src/DataMapper/RequestDataMapper/PayForPosRequestDataMapper.php
-
message: '#^Cannot assign offset ''authCode'' to array\<string, string\>\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Cannot assign offset ''hostLogKey'' to array\<string, int\|string\>\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Cannot assign offset ''hostLogKey'' to array\<string, mixed\>\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Cannot assign offset ''orderID'' to array\<string, int\|string\>\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Cannot assign offset ''orderID'' to array\<string, mixed\>\|string\.$#'
identifier: offsetAssign.dimType
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Method Mews\\Pos\\DataMapper\\RequestDataMapper\\PosNetRequestDataMapper\:\:create3DEnrollmentCheckRequestData\(\) return type has no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/DataMapper/RequestDataMapper/PosNetRequestDataMapper.php
-
message: '#^Method Mews\\Pos\\DataMapper\\RequestDataMapper\\PosNetV1PosRequestDataMapper\:\:create3DFormData\(\) has parameter \$extraData with no type specified\.$#'
identifier: missingType.parameter
count: 1
path: src/DataMapper/RequestDataMapper/PosNetV1PosRequestDataMapper.php
-
message: '#^Argument of an invalid type array\<mixed, mixed\>\|object supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: src/DataMapper/ResponseDataMapper/AbstractResponseDataMapper.php
-
message: '#^Offset ''ErrorMsg'' might not exist on array\<string, string\>\|string\.$#'
identifier: offsetAccess.notFound
count: 2
path: src/DataMapper/ResponseDataMapper/GarantiPosResponseDataMapper.php
-
message: '#^Offset ''ReasonCode'' might not exist on array\<string, string\>\|string\.$#'
identifier: offsetAccess.notFound
count: 2
path: src/DataMapper/ResponseDataMapper/GarantiPosResponseDataMapper.php
-
message: '#^Method Mews\\Pos\\DataMapper\\ResponseDataMapper\\KuveytPosResponseDataMapper\:\:mapStatusResponse\(\) has parameter \$rawResponseData with no value type specified in iterable type array\.$#'
identifier: missingType.iterableValue
count: 1
path: src/DataMapper/ResponseDataMapper/KuveytPosResponseDataMapper.php
-
message: '#^Method Mews\\Pos\\DataMapper\\ResponseDataMapper\\PayFlexV4PosResponseDataMapper\:\:getCommonPaymentResponse\(\) should return array\<string, string\> but returns array\<string, array\<string, string\>\|string\|null\>\.$#'
identifier: return.type
count: 1
path: src/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapper.php
-
message: '#^Property Mews\\Pos\\DataMapper\\ResponseDataMapper\\AbstractResponseDataMapper\:\:\$secureTypeMappings \(array\<string, ''3d''\|''3d_host''\|''3d_pay''\|''3d_pay_hosting''\|''regular''\>\) does not accept non\-empty\-array\<1\|2\|3\|string, ''3d''\|''3d_host''\|''3d_pay''\|''3d_pay_hosting''\|''regular''\>\.$#'
identifier: assign.propertyType
count: 1
path: src/DataMapper/ResponseDataMapper/PayFlexV4PosResponseDataMapper.php
-
message: '#^Property Mews\\Pos\\DataMapper\\ResponseDataMapper\\AbstractResponseDataMapper\:\:\$currencyMappings \(array\<string, ''EUR''\|''GBP''\|''JPY''\|''RUB''\|''TRY''\|''USD''\>\) does not accept non\-empty\-array\<392\|643\|826\|840\|949\|978\|string, ''EUR''\|''GBP''\|''JPY''\|''RUB''\|''TRY''\|''USD''\>\.$#'
identifier: assign.propertyType
count: 1
path: src/DataMapper/ResponseDataMapper/PosNetV1PosResponseDataMapper.php
-
message: '#^Method Mews\\Pos\\Factory\\PosFactory\:\:createPosGateway\(\) should return Mews\\Pos\\PosInterface but returns object\.$#'
identifier: return.type
count: 1
path: src/Factory/PosFactory.php
-
message: '#^Strict comparison using \=\=\= between ''3d_host'' and ''3d_host'' will always evaluate to true\.$#'
identifier: identical.alwaysTrue
count: 1
path: src/Gateways/AbstractGateway.php
-
message: '#^Parameter \#2 \$rawPaymentResponseData of method Mews\\Pos\\DataMapper\\ResponseDataMapper\\GarantiPosResponseDataMapper\:\:map3DPaymentData\(\) expects array\{Order\: array\<string, array\<string, string\|null\>\|string\>, Response\: array\<string, string\>, Transaction\: array\<string, array\<string, string\>\|string\>\}\|null, array\<string, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Gateways/GarantiPos.php
-
message: '#^Parameter \#1 \$raw3DAuthResponseData of method Mews\\Pos\\DataMapper\\ResponseDataMapper\\PayFlexCPV4PosResponseDataMapper\:\:map3DPayResponseData\(\) expects array\{ErrorCode\: string\}\|array\{Rc\: string, AuthCode\: string, TransactionId\: string, PaymentToken\: string, MaskedPan\: string\}\|array\{Rc\: string, Message\: string, TransactionId\: string, PaymentToken\: string\}, array given\.$#'
identifier: argument.type
count: 1
path: src/Gateways/PayFlexCPV4Pos.php
-
message: '#^Parameter \#7 \$extraData of method Mews\\Pos\\DataMapper\\RequestDataMapper\\PayFlexCPV4PosRequestDataMapper\:\:create3DFormData\(\) expects array\{CommonPaymentUrl\: string, PaymentToken\: string\}, array\{CommonPaymentUrl\: string\|null, PaymentToken\: string\|null, ErrorCode\: null, ResponseMessage\: string\|null\} given\.$#'
identifier: argument.type
count: 1
path: src/Gateways/PayFlexCPV4Pos.php
-
message: '#^Parameter \#2 \$creditCard of method Mews\\Pos\\Gateways\\PayFlexV4Pos\:\:sendEnrollmentRequest\(\) expects Mews\\Pos\\Entity\\Card\\CreditCardInterface, Mews\\Pos\\Entity\\Card\\CreditCardInterface\|null given\.$#'
identifier: argument.type
count: 1
path: src/Gateways/PayFlexV4Pos.php
-
message: '#^Method Mews\\Pos\\Gateways\\PosNet\:\:getOosTransactionData\(\) should return array\{approved\: string, respCode\: string, respText\: string, oosRequestDataResponse\?\: array\{data1\: string, data2\: string, sign\: string\}\} but returns array\<string, mixed\>\.$#'
identifier: return.type
count: 1
path: src/Gateways/PosNet.php
-
message: '#^Offset ''oosRequestDataResponse'' might not exist on array\{approved\: string, respCode\: string, respText\: string, oosRequestDataResponse\?\: array\{data1\: string, data2\: string, sign\: string\}\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/Gateways/PosNet.php
-
message: '#^Parameter \#4 \$creditCard of method Mews\\Pos\\Gateways\\PosNet\:\:getOosTransactionData\(\) expects Mews\\Pos\\Entity\\Card\\CreditCardInterface, Mews\\Pos\\Entity\\Card\\CreditCardInterface\|null given\.$#'
identifier: argument.type
count: 1
path: src/Gateways/PosNet.php