forked from spryker/zed-request
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm-report.json
476 lines (476 loc) · 25.9 KB
/
psalm-report.json
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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
{
"error": [
{
"severity": "error",
"line_from": 30,
"line_to": 34,
"type": "TooFewArguments",
"message": "Too few arguments for Spryker\\Client\\ZedRequest\\Client\\HttpClient::__construct - expecting 5 but saw 3",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Provider/AbstractZedClientProvider.php",
"snippet": " $httpClient = new HttpClient(\n $this->getBaseUrl(),\n Config::get(ZedRequestConstants::TRANSFER_USERNAME),\n Config::get(ZedRequestConstants::TRANSFER_PASSWORD)\n );",
"selected_text": "new HttpClient(\n $this->getBaseUrl(),\n Config::get(ZedRequestConstants::TRANSFER_USERNAME),\n Config::get(ZedRequestConstants::TRANSFER_PASSWORD)\n )",
"error_level": -1,
"shortcode": 25
}
],
"warning": [
{
"severity": "info",
"line_from": 33,
"line_to": 33,
"type": "MoreSpecificReturnType",
"message": "The declared return type 'Spryker\\Zed\\ZedRequest\\ZedRequestConfig' for Spryker\\Zed\\Kernel\\BundleConfigResolverAwareTrait::getConfig is more specific than the inferred return type 'Spryker\\Zed\\Kernel\\AbstractBundleConfig'",
"file_name": "vendor/spryker/spryker/Bundles/Kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php",
"snippet": " * @return \\Spryker\\Zed\\Kernel\\AbstractBundleConfig",
"selected_text": "\\Spryker\\Zed\\Kernel\\AbstractBundleConfig",
"error_level": 3,
"shortcode": 70
},
{
"severity": "info",
"line_from": 45,
"line_to": 45,
"type": "MoreSpecificReturnType",
"message": "The declared return type 'Spryker\\Zed\\Kernel\\AbstractBundleConfig' for Spryker\\Zed\\Kernel\\BundleConfigResolverAwareTrait::resolveBundleConfig is more specific than the inferred return type 'Spryker\\Shared\\Kernel\\AbstractBundleConfig'",
"file_name": "vendor/spryker/spryker/Bundles/Kernel/src/Spryker/Zed/Kernel/BundleConfigResolverAwareTrait.php",
"snippet": " * @return \\Spryker\\Zed\\Kernel\\AbstractBundleConfig",
"selected_text": "\\Spryker\\Zed\\Kernel\\AbstractBundleConfig",
"error_level": 3,
"shortcode": 70
},
{
"severity": "info",
"line_from": 89,
"line_to": 89,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addErrorMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addErrorMessage($errorMessage->getValue());",
"selected_text": "$errorMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 99,
"line_to": 99,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addSuccessMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addSuccessMessage($successMessage->getValue());",
"selected_text": "$successMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 109,
"line_to": 109,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addInfoMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addInfoMessage($infoMessage->getValue());",
"selected_text": "$infoMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 143,
"line_to": 143,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addErrorMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addErrorMessage($errorMessage->getValue());",
"selected_text": "$errorMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 153,
"line_to": 153,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addSuccessMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addSuccessMessage($successMessage->getValue());",
"selected_text": "$successMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 163,
"line_to": 163,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Dependency\\Client\\ZedRequestToMessengerClientInterface::addInfoMessage cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Messenger/Messenger.php",
"snippet": " $this->messengerClient->addInfoMessage($infoMessage->getValue());",
"selected_text": "$infoMessage->getValue()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 50,
"line_to": 50,
"type": "PossiblyInvalidArgument",
"message": "Argument 3 of call expects array<array-key, mixed>|null, possibly different type array<array-key, mixed>|int|null provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/ZedRequestClient.php",
"snippet": " return $this->getClient()->call($url, $object, $requestOptions);",
"selected_text": "$requestOptions",
"error_level": 3,
"shortcode": 92
},
{
"severity": "info",
"line_from": 55,
"line_to": 55,
"type": "PossiblyInvalidArgument",
"message": "Argument 1 of Spryker\\Client\\ZedRequest\\Client\\ZedClient::__construct expects Spryker\\Shared\\ZedRequest\\Client\\HttpClientInterface, possibly different type Spryker\\Client\\ZedRequest\\Client\\HttpClientInterface|Spryker\\Shared\\ZedRequest\\Client\\HttpClientInterface provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/ZedRequestFactory.php",
"snippet": " $this->createHttpClient()",
"selected_text": "$this->createHttpClient()",
"error_level": 3,
"shortcode": 92
},
{
"severity": "info",
"line_from": 207,
"line_to": 207,
"type": "PossiblyNullArgument",
"message": "Argument 5 of sprintf cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractHttpClient.php",
"snippet": " $request->getUri()->getPort(),",
"selected_text": "$request->getUri()->getPort()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 214,
"line_to": 214,
"type": "InvalidScalarArgument",
"message": "Argument 2 of Spryker\\Shared\\ZedRequest\\Client\\Exception\\RequestException::__construct expects int, int|string provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractHttpClient.php",
"snippet": " $requestException = new RequestException($message, $e->getCode(), $e);",
"selected_text": "$e->getCode()",
"error_level": 4,
"shortcode": 12
},
{
"severity": "info",
"line_from": 207,
"line_to": 207,
"type": "MoreSpecificReturnType",
"message": "The declared return type 'Spryker\\Shared\\Kernel\\Transfer\\TransferInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractRequest::createTransferObject is more specific than the inferred return type 'object'",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractRequest.php",
"snippet": " * @return \\Spryker\\Shared\\Kernel\\Transfer\\TransferInterface",
"selected_text": "\\Spryker\\Shared\\Kernel\\Transfer\\TransferInterface",
"error_level": 3,
"shortcode": 70
},
{
"severity": "info",
"line_from": 213,
"line_to": 213,
"type": "LessSpecificReturnStatement",
"message": "The type 'object' is more general than the declared return type 'Spryker\\Shared\\Kernel\\Transfer\\TransferInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractRequest::createTransferObject",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractRequest.php",
"snippet": " return $transfer;",
"selected_text": "$transfer",
"error_level": 3,
"shortcode": 129
},
{
"severity": "info",
"line_from": 265,
"line_to": 265,
"type": "MoreSpecificReturnType",
"message": "The declared return type 'Spryker\\Shared\\Kernel\\Transfer\\TransferInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractResponse::createTransferObject is more specific than the inferred return type 'object'",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractResponse.php",
"snippet": " * @return \\Spryker\\Shared\\Kernel\\Transfer\\TransferInterface",
"selected_text": "\\Spryker\\Shared\\Kernel\\Transfer\\TransferInterface",
"error_level": 3,
"shortcode": 70
},
{
"severity": "info",
"line_from": 271,
"line_to": 271,
"type": "LessSpecificReturnStatement",
"message": "The type 'object' is more general than the declared return type 'Spryker\\Shared\\Kernel\\Transfer\\TransferInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractResponse::createTransferObject",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractResponse.php",
"snippet": " return $transfer;",
"selected_text": "$transfer",
"error_level": 3,
"shortcode": 129
},
{
"severity": "info",
"line_from": 99,
"line_to": 99,
"type": "InvalidNullableReturnType",
"message": "The declared return type 'Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractZedClient::getLastResponse is not nullable, but 'Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface|null' contains null",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractZedClient.php",
"snippet": " * @return \\Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface",
"selected_text": "\\Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface",
"error_level": 5,
"shortcode": 144
},
{
"severity": "info",
"line_from": 107,
"line_to": 107,
"type": "NullableReturnStatement",
"message": "The declared return type 'Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface' for Spryker\\Shared\\ZedRequest\\Client\\AbstractZedClient::getLastResponse is not nullable, but the function returns 'Spryker\\Shared\\ZedRequest\\Client\\ResponseInterface|null'",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractZedClient.php",
"snippet": " return static::$lastResponse;",
"selected_text": "static::$lastResponse",
"error_level": 5,
"shortcode": 139
},
{
"severity": "info",
"line_from": 141,
"line_to": 141,
"type": "PossiblyInvalidFunctionCall",
"message": "Cannot treat type Spryker\\Shared\\Kernel\\Transfer\\TransferInterface&object{__invoke()} as callable",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractZedClient.php",
"snippet": " $this->metaTransfers[$name] = $transfer();",
"selected_text": "$transfer()",
"error_level": 3,
"shortcode": 136
},
{
"severity": "info",
"line_from": 37,
"line_to": 37,
"type": "PossiblyNullReference",
"message": "Cannot call method info on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedRequestLogPlugin.php",
"snippet": " $this->getLogger()->info(sprintf(",
"selected_text": "info",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 41,
"line_to": 41,
"type": "PossiblyNullReference",
"message": "Cannot call method info on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Yves/ZedRequest/Plugin/ZedResponseLogPlugin.php",
"snippet": " $this->getLogger()->info($message, ['guzzle-body' => $response->getBody()->getContents()]);",
"selected_text": "info",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 84,
"line_to": 84,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Zed\\ZedRequest\\Dependency\\Facade\\ZedRequestToStoreInterface::setCurrentLocale cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php",
"snippet": " $this->getFactory()->getStore()->setCurrentLocale($localeTransfer->getLocaleName());",
"selected_text": "$localeTransfer->getLocaleName()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 110,
"line_to": 110,
"type": "PossiblyNullArgument",
"message": "Argument 1 of Spryker\\Zed\\ZedRequest\\Dependency\\Facade\\ZedRequestToStoreInterface::setCurrencyIsoCode cannot be null, possibly null value provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php",
"snippet": " $this->getFactory()->getStore()->setCurrencyIsoCode($currencyTransfer->getCode());",
"selected_text": "$currencyTransfer->getCode()",
"error_level": 3,
"shortcode": 78
},
{
"severity": "info",
"line_from": 73,
"line_to": 73,
"type": "UnsafeInstantiation",
"message": "Cannot safely instantiate class Spryker\\Zed\\ZedRequest\\Communication\\Plugin\\TransferObject\\TransferServer with \"new static\" as its constructor might change in child classes",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/TransferObject/TransferServer.php",
"snippet": " self::$instance = new static($repeater);",
"selected_text": "new static($repeater)",
"error_level": 2,
"shortcode": 229
},
{
"severity": "info",
"line_from": 99,
"line_to": 99,
"type": "PossiblyInvalidArgument",
"message": "Argument 1 of json_decode expects string, possibly different type resource|string provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/TransferObject/TransferServer.php",
"snippet": " $transferValues = json_decode($this->getHttpRequest()->getContent(), true);",
"selected_text": "$this->getHttpRequest()->getContent()",
"error_level": 3,
"shortcode": 92
},
{
"severity": "info",
"line_from": 75,
"line_to": 75,
"type": "TypeDoesNotContainType",
"message": "string(development) cannot be identical to string()",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/ZedRequestConfig.php",
"snippet": " return APPLICATION_ENV === 'development';",
"selected_text": "APPLICATION_ENV === 'development'",
"error_level": 4,
"shortcode": 56
},
{
"severity": "info",
"line_from": 52,
"line_to": 52,
"type": "PossiblyInvalidArgument",
"message": "Argument 1 of Spryker\\Zed\\ZedRequest\\Dependency\\Facade\\ZedRequestToMessengerBridge::__construct expects Spryker\\Zed\\Messenger\\Business\\MessengerFacadeInterface, possibly different type Spryker\\Zed\\Messenger\\Business\\MessengerFacadeInterface|Spryker\\Zed\\ZedRequest\\Dependency\\Facade\\NullMessenger provided",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/ZedRequestDependencyProvider.php",
"snippet": " $zedRequestToMessengerBridge = new ZedRequestToMessengerBridge($messenger);",
"selected_text": "$messenger",
"error_level": 3,
"shortcode": 92
}
],
"deprecation": [
{
"severity": "info",
"line_from": 17,
"line_to": 17,
"type": "DeprecatedClass",
"message": "Spryker\\Shared\\ZedRequest\\Provider\\AbstractZedClientProvider is marked deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Provider/ZedClientProvider.php",
"snippet": "class ZedClientProvider extends AbstractZedClientProvider",
"selected_text": "AbstractZedClientProvider",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 26,
"line_to": 26,
"type": "DeprecatedClass",
"message": "Spryker\\Shared\\ZedRequest\\Provider\\AbstractZedClientProvider is marked deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Provider/ZedClientProvider.php",
"snippet": " return parent::createZedClient();",
"selected_text": "parent::createZedClient()",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 26,
"line_to": 26,
"type": "DeprecatedMethod",
"message": "The method Spryker\\Shared\\ZedRequest\\Provider\\AbstractZedClientProvider::createZedClient has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/Provider/ZedClientProvider.php",
"snippet": " return parent::createZedClient();",
"selected_text": "parent::createZedClient()",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 53,
"line_to": 53,
"type": "DeprecatedConstant",
"message": "Constant Spryker\\Shared\\ZedRequest\\ZedRequestConstants::HOST_SSL_ZED_API is deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Client/ZedRequest/ZedRequestConfig.php",
"snippet": " return '//' . $this->getConfig()->get(ZedRequestConstants::HOST_SSL_ZED_API);",
"selected_text": "ZedRequestConstants::HOST_SSL_ZED_API",
"error_level": 2,
"shortcode": 170
},
{
"severity": "info",
"line_from": 376,
"line_to": 376,
"type": "DeprecatedMethod",
"message": "The method Spryker\\Shared\\ZedRequest\\Client\\AbstractHttpClient::normalizeRequestOptions has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Client/AbstractHttpClient.php",
"snippet": " $normalizedRequestOptions = $this->normalizeRequestOptions($requestOptions);",
"selected_text": "normalizeRequestOptions",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 32,
"line_to": 32,
"type": "DeprecatedConstant",
"message": "Constant Spryker\\Shared\\ZedRequest\\ZedRequestConstants::TRANSFER_USERNAME is deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Provider/AbstractZedClientProvider.php",
"snippet": " Config::get(ZedRequestConstants::TRANSFER_USERNAME),",
"selected_text": "ZedRequestConstants::TRANSFER_USERNAME",
"error_level": 2,
"shortcode": 170
},
{
"severity": "info",
"line_from": 33,
"line_to": 33,
"type": "DeprecatedConstant",
"message": "Constant Spryker\\Shared\\ZedRequest\\ZedRequestConstants::TRANSFER_PASSWORD is deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Shared/ZedRequest/Provider/AbstractZedClientProvider.php",
"snippet": " Config::get(ZedRequestConstants::TRANSFER_PASSWORD)",
"selected_text": "ZedRequestConstants::TRANSFER_PASSWORD",
"error_level": 2,
"shortcode": 170
},
{
"severity": "info",
"line_from": 55,
"line_to": 55,
"type": "DeprecatedConstant",
"message": "Constant Spryker\\Shared\\Messenger\\MessengerConstants::IN_MEMORY_TRAY is deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayControllerListenerPlugin.php",
"snippet": " MessengerConfig::setMessageTray(MessengerConstants::IN_MEMORY_TRAY);",
"selected_text": "MessengerConstants::IN_MEMORY_TRAY",
"error_level": 2,
"shortcode": 170
},
{
"severity": "info",
"line_from": 47,
"line_to": 47,
"type": "DeprecatedProperty",
"message": "Spryker\\Zed\\ZedRequest\\Communication\\Plugin\\GatewayServiceProviderPlugin::$controllerListener is marked deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayServiceProviderPlugin.php",
"snippet": " $this->controllerListener = $controllerListener;",
"selected_text": "$this->controllerListener",
"error_level": 2,
"shortcode": 99
},
{
"severity": "info",
"line_from": 97,
"line_to": 97,
"type": "DeprecatedMethod",
"message": "The method Silex\\Application::before has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/Communication/Plugin/GatewayServiceProviderPlugin.php",
"snippet": " $app->before(function (Request $request) {",
"selected_text": "before",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 65,
"line_to": 65,
"type": "DeprecatedMethod",
"message": "The method Spryker\\Zed\\ZedRequest\\ZedRequestConfig::getEnableRepeatDefaultValue has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/ZedRequest/src/Spryker/Zed/ZedRequest/ZedRequestConfig.php",
"snippet": " return $this->get(ZedRequestConstants::ENABLE_REPEAT, $this->getEnableRepeatDefaultValue());",
"selected_text": "getEnableRepeatDefaultValue",
"error_level": 2,
"shortcode": 1
}
]
}