-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm-report.json
199 lines (199 loc) · 11.8 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
{
"error": [],
"warning": [
{
"severity": "info",
"line_from": 97,
"line_to": 97,
"type": "MismatchingDocblockParamType",
"message": "Parameter $expenseTransfers has wrong type 'ArrayObject|array<array-key, Generated\\Shared\\Transfer\\ExpenseTransfer>', should be 'ArrayObject'",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/Calculator/AbstractShipmentAvalaraTaxCalculator.php",
"snippet": " * @param \\ArrayObject|\\Generated\\Shared\\Transfer\\ExpenseTransfer[] $expenseTransfers",
"selected_text": "\\ArrayObject|\\Generated\\Shared\\Transfer\\ExpenseTransfer[]",
"error_level": 4,
"shortcode": 141
},
{
"severity": "info",
"line_from": 123,
"line_to": 123,
"type": "MismatchingDocblockParamType",
"message": "Parameter $expenseTransfers has wrong type 'ArrayObject|array<array-key, Generated\\Shared\\Transfer\\ExpenseTransfer>', should be 'ArrayObject'",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/Calculator/AbstractShipmentAvalaraTaxCalculator.php",
"snippet": " * @param \\ArrayObject|\\Generated\\Shared\\Transfer\\ExpenseTransfer[] $expenseTransfers",
"selected_text": "\\ArrayObject|\\Generated\\Shared\\Transfer\\ExpenseTransfer[]",
"error_level": 4,
"shortcode": 141
},
{
"severity": "info",
"line_from": 68,
"line_to": 68,
"type": "MismatchingDocblockParamType",
"message": "Parameter $avalaraTransactionLineTransfers has wrong type 'ArrayObject|array<array-key, Generated\\Shared\\Transfer\\AvalaraTransactionLineTransfer>', should be 'ArrayObject'",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/Calculator/MultiShipmentAbstractShipmentAvalaraTaxCalculator.php",
"snippet": " * @param \\ArrayObject|\\Generated\\Shared\\Transfer\\AvalaraTransactionLineTransfer[] $avalaraTransactionLineTransfers",
"selected_text": "\\ArrayObject|\\Generated\\Shared\\Transfer\\AvalaraTransactionLineTransfer[]",
"error_level": 4,
"shortcode": 141
},
{
"severity": "info",
"line_from": 31,
"line_to": 31,
"type": "MismatchingDocblockReturnType",
"message": "Docblock has incorrect return type 'ArrayObject|array<array-key, Generated\\Shared\\Transfer\\ShipmentGroupTransfer>', should be 'ArrayObject'",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Dependency/Service/AvalaraTaxShipmentToShipmentServiceBridge.php",
"snippet": " * @return \\ArrayObject|\\Generated\\Shared\\Transfer\\ShipmentGroupTransfer[]",
"selected_text": "\\ArrayObject|\\Generated\\Shared\\Transfer\\ShipmentGroupTransfer[]",
"error_level": 4,
"shortcode": 142
},
{
"severity": "info",
"line_from": 18,
"line_to": 18,
"type": "MismatchingDocblockReturnType",
"message": "Docblock has incorrect return type 'ArrayObject|array<array-key, Generated\\Shared\\Transfer\\ShipmentGroupTransfer>', should be 'ArrayObject'",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Dependency/Service/AvalaraTaxShipmentToShipmentServiceInterface.php",
"snippet": " * @return \\ArrayObject|\\Generated\\Shared\\Transfer\\ShipmentGroupTransfer[]",
"selected_text": "\\ArrayObject|\\Generated\\Shared\\Transfer\\ShipmentGroupTransfer[]",
"error_level": 4,
"shortcode": 142
}
],
"deprecation": [
{
"severity": "info",
"line_from": 97,
"line_to": 97,
"type": "DeprecatedClass",
"message": "Class SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolverInterface is marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentBusinessFactory.php",
"snippet": " * @return \\SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolverInterface",
"selected_text": "\\SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolverInterface",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 99,
"line_to": 99,
"type": "DeprecatedClass",
"message": "Class SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolverInterface is marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentBusinessFactory.php",
"snippet": " public function createShipmentTaxCalculatorStrategyResolver(): ShipmentTaxCalculatorStrategyResolverInterface",
"selected_text": "ShipmentTaxCalculatorStrategyResolverInterface",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 103,
"line_to": 103,
"type": "DeprecatedClass",
"message": "Class SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolver is deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentBusinessFactory.php",
"snippet": " $strategyContainer[ShipmentTaxCalculatorStrategyResolver::STRATEGY_KEY_WITHOUT_MULTI_SHIPMENT] = function () {",
"selected_text": "ShipmentTaxCalculatorStrategyResolver::STRATEGY_KEY_WITHOUT_MULTI_SHIPMENT",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 107,
"line_to": 107,
"type": "DeprecatedClass",
"message": "Class SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolver is deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentBusinessFactory.php",
"snippet": " $strategyContainer[ShipmentTaxCalculatorStrategyResolver::STRATEGY_KEY_WITH_MULTI_SHIPMENT] = function () {",
"selected_text": "ShipmentTaxCalculatorStrategyResolver::STRATEGY_KEY_WITH_MULTI_SHIPMENT",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 111,
"line_to": 111,
"type": "DeprecatedClass",
"message": "SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolver is marked deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentBusinessFactory.php",
"snippet": " return new ShipmentTaxCalculatorStrategyResolver($strategyContainer);",
"selected_text": "new ShipmentTaxCalculatorStrategyResolver($strategyContainer)",
"error_level": 2,
"shortcode": 98
},
{
"severity": "info",
"line_from": 57,
"line_to": 57,
"type": "DeprecatedMethod",
"message": "The method SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\AvalaraTaxShipmentBusinessFactory::createShipmentTaxCalculatorStrategyResolver has been marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/AvalaraTaxShipmentFacade.php",
"snippet": " ->createShipmentTaxCalculatorStrategyResolver()",
"selected_text": "createShipmentTaxCalculatorStrategyResolver",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 26,
"line_to": 26,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\CalculableObjectTransfer::getShipmentOrFail has been marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/Calculator/SingleAddressShipmentAvalaraTaxCalculator.php",
"snippet": " $shipmentTransfer = $calculableObjectTransfer->getShipmentOrFail();",
"selected_text": "getShipmentOrFail",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 92,
"line_to": 92,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\CalculableObjectTransfer::getShipmentOrFail has been marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/Expander/AvalaraCreateTransactionRequestExpander.php",
"snippet": " $calculableObjectTransfer->getShipmentOrFail(),",
"selected_text": "getShipmentOrFail",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 18,
"line_to": 18,
"type": "DeprecatedInterface",
"message": "SprykerEco\\Zed\\AvalaraTaxShipment\\Business\\StrategyResolver\\ShipmentTaxCalculatorStrategyResolverInterface is marked deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/StrategyResolver/ShipmentTaxCalculatorStrategyResolver.php",
"snippet": "class ShipmentTaxCalculatorStrategyResolver implements ShipmentTaxCalculatorStrategyResolverInterface",
"selected_text": "ShipmentTaxCalculatorStrategyResolver",
"error_level": 2,
"shortcode": 152
},
{
"severity": "info",
"line_from": 43,
"line_to": 43,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\CalculableObjectTransfer::getShippingAddress has been marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/StrategyResolver/ShipmentTaxCalculatorStrategyResolver.php",
"snippet": " if ($calculableObjectTransfer->getShippingAddress() !== null && $calculableObjectTransfer->getShippingAddress()->getZipCode() !== null) {",
"selected_text": "getShippingAddress",
"error_level": 2,
"shortcode": 1
},
{
"severity": "info",
"line_from": 43,
"line_to": 43,
"type": "DeprecatedMethod",
"message": "The method Generated\\Shared\\Transfer\\CalculableObjectTransfer::getShippingAddress has been marked as deprecated",
"file_name": "vendor/spryker-eco/avalara-tax-shipment/src/SprykerEco/Zed/AvalaraTaxShipment/Business/StrategyResolver/ShipmentTaxCalculatorStrategyResolver.php",
"snippet": " if ($calculableObjectTransfer->getShippingAddress() !== null && $calculableObjectTransfer->getShippingAddress()->getZipCode() !== null) {",
"selected_text": "getShippingAddress",
"error_level": 2,
"shortcode": 1
}
]
}