-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm-report.json
127 lines (127 loc) · 6.4 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
{
"error": [],
"warning": [
{
"severity": "info",
"line_from": 23,
"line_to": 23,
"type": "PossiblyNullReference",
"message": "Cannot call method setPaymentProvider on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Expander/DummyMarketplacePaymentExpander.php",
"snippet": " ->setPaymentProvider(DummyMarketplacePaymentConfig::PAYMENT_PROVIDER_NAME)",
"selected_text": "setPaymentProvider",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 28,
"line_to": 28,
"type": "PossiblyNullReference",
"message": "Cannot call method getDummyMarketplacePaymentInvoice on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " if ($quoteTransfer->getPayment()->getDummyMarketplacePaymentInvoice()) {",
"selected_text": "getDummyMarketplacePaymentInvoice",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 32,
"line_to": 32,
"type": "PossiblyNullReference",
"message": "Cannot call method setDummyMarketplacePaymentInvoice on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " $quoteTransfer->getPayment()->setDummyMarketplacePaymentInvoice(new DummyMarketplacePaymentTransfer());",
"selected_text": "setDummyMarketplacePaymentInvoice",
"error_level": 3,
"shortcode": 83
},
{
"severity": "info",
"line_from": 72,
"line_to": 72,
"type": "PossiblyInvalidMethodCall",
"message": "Cannot call method on possible array<array-key, Generated\\Shared\\Transfer\\ItemTransfer> variable ",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Zed/DummyMarketplacePayment/Business/Filter/PaymentMethodFilter.php",
"snippet": " return $merchantItemsCount === $quoteTransfer->getItems()->count();",
"selected_text": "count",
"error_level": 3,
"shortcode": 113
},
{
"severity": "info",
"line_from": 83,
"line_to": 83,
"type": "PossiblyNullReference",
"message": "Cannot call method getPaymentProviderKey on possibly null value",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Zed/DummyMarketplacePayment/Business/Filter/PaymentMethodFilter.php",
"snippet": " && $paymentMethodTransfer->getPaymentProvider()->getPaymentProviderKey() === DummyMarketplacePaymentConfig::PAYMENT_PROVIDER_NAME;",
"selected_text": "getPaymentProviderKey",
"error_level": 3,
"shortcode": 83
}
],
"deprecation": [
{
"severity": "info",
"line_from": 22,
"line_to": 22,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\QuoteTransfer::getPayment has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Expander/DummyMarketplacePaymentExpander.php",
"snippet": " $quoteTransfer->getPayment()",
"selected_text": "getPayment",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 24,
"line_to": 24,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\QuoteTransfer::getPayment has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " if (!$quoteTransfer->getPayment()) {",
"selected_text": "getPayment",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 25,
"line_to": 25,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\QuoteTransfer::setPayment has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " $quoteTransfer->setPayment(new PaymentTransfer());",
"selected_text": "setPayment",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 28,
"line_to": 28,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\QuoteTransfer::getPayment has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " if ($quoteTransfer->getPayment()->getDummyMarketplacePaymentInvoice()) {",
"selected_text": "getPayment",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 32,
"line_to": 32,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\QuoteTransfer::getPayment has been marked as deprecated",
"file_name": "vendor/spryker/spryker/Bundles/DummyMarketplacePayment/src/Spryker/Yves/DummyMarketplacePayment/Form/DataProvider/InvoiceFormDataProvider.php",
"snippet": " $quoteTransfer->getPayment()->setDummyMarketplacePaymentInvoice(new DummyMarketplacePaymentTransfer());",
"selected_text": "getPayment",
"error_level": 2,
"shortcode": 1
}
]
}