-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathphpstan-baseline.neon
256 lines (206 loc) · 13 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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
parameters:
ignoreErrors:
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Block\\\\CategoryView\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Block/CategoryView.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Block\\\\CheckoutSuccess\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Block/CheckoutSuccess.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Block\\\\Parameter\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Block/Parameter.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Block\\\\ProductView\\:\\:__construct\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: Block/ProductView.php
-
message: "#^Call to an undefined method Magento\\\\Catalog\\\\Model\\\\Product\\\\Type\\\\AbstractType\\:\\:getSalableUsedProducts\\(\\)\\.$#"
count: 1
path: Helper/Data.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Cookie\\:\\:save\\(\\) has parameter \\$additionalData with no value type specified in iterable type array\\.$#"
count: 1
path: Model/Cookie.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Cookie\\\\UserData\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Model/Cookie/UserData.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\:\\:generate\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Model/Feed.php
-
message: "#^Parameter \\#3 \\$scopeCode of method Magento\\\\Framework\\\\App\\\\Config\\\\ScopeConfigInterface\\:\\:isSetFlag\\(\\) expects int\\|string\\|null, Magento\\\\Store\\\\Api\\\\Data\\\\StoreInterface given\\.$#"
count: 1
path: Model/Feed.php
-
message: "#^Use service contracts to persist entities in favour of Magento\\\\Store\\\\Model\\\\Store\\:\\:load\\(\\) method$#"
count: 1
path: Model/Feed.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\AttributeSetId\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/AttributeSetId.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\AttributeSetId\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/AttributeSetId.php
-
message: "#^Call to function is_array\\(\\) with object will always evaluate to false\\.$#"
count: 1
path: Model/Feed/Column/CategoryIds.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\CategoryIds\\:\\:getValue\\(\\) should return string but returns object\\.$#"
count: 1
path: Model/Feed/Column/CategoryIds.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\CategoryIds\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/CategoryIds.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\CategoryIds\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/CategoryIds.php
-
message: "#^Unreachable statement \\- code above always terminates\\.$#"
count: 1
path: Model/Feed/Column/CategoryIds.php
-
message: "#^Parameter \\#1 \\$file of method Magento\\\\Catalog\\\\Helper\\\\Image\\:\\:setImageFile\\(\\) expects string, object given\\.$#"
count: 1
path: Model/Feed/Column/Image.php
-
message: "#^Parameter \\#3 \\$scopeCode of method Magento\\\\Framework\\\\App\\\\Config\\\\ScopeConfigInterface\\:\\:getValue\\(\\) expects int\\|string\\|null, Magento\\\\Store\\\\Model\\\\Store given\\.$#"
count: 1
path: Model/Feed/Column/Image.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Image\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Image.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Image\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Image.php
-
message: "#^Property Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\IsInStock\\:\\:\\$stockItemRepository is never read, only written\\.$#"
count: 1
path: Model/Feed/Column/IsInStock.php
-
message: "#^Return type \\(int\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\IsInStock\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/IsInStock.php
-
message: "#^Return type \\(int\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\IsInStock\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/IsInStock.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Price\\:\\:getValue\\(\\) should return string but returns float\\.$#"
count: 1
path: Model/Feed/Column/Price.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Price\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Price.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Price\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Price.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\SpecialPrice\\:\\:getValue\\(\\) should return string but returns float\\.$#"
count: 1
path: Model/Feed/Column/SpecialPrice.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\SpecialPrice\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/SpecialPrice.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\SpecialPrice\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/SpecialPrice.php
-
message: "#^Call to an undefined method Magento\\\\Framework\\\\Model\\\\ResourceModel\\\\Db\\\\AbstractDb\\:\\:getAttribute\\(\\)\\.$#"
count: 1
path: Model/Feed/Column/Standard.php
-
message: "#^Magento\\\\Catalog\\\\Model\\\\Product\\:\\:getResource\\(\\) is deprecated\\. Use Resource Models directly$#"
count: 1
path: Model/Feed/Column/Standard.php
-
message: "#^Call to an undefined method Magento\\\\Catalog\\\\Model\\\\Product\\\\Type\\\\AbstractType\\:\\:getSalableUsedProducts\\(\\)\\.$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\StockQty\\:\\:getValue\\(\\) should return string but returns float\\.$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\StockQty\\:\\:getValue\\(\\) should return string but returns float\\|int\\.$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\StockQty\\:\\:getValue\\(\\) should return string but returns int\\.$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\StockQty\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\StockQty\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/StockQty.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Url\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ColumnInterface\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Url.php
-
message: "#^Return type \\(string\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Url\\:\\:getValue\\(\\) should be compatible with return type \\(object\\) of method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Column\\\\Standard\\:\\:getValue\\(\\)$#"
count: 1
path: Model/Feed/Column/Url.php
-
message: "#^Call to an undefined method Magento\\\\Catalog\\\\Model\\\\ResourceModel\\\\Attribute\\:\\:getAttributeCode\\(\\)\\.$#"
count: 1
path: Model/Feed/ColumnFactory.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Product\\:\\:getAttributeNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Model/Feed/Product.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Product\\:\\:getAttributes\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: Model/Feed/Product.php
-
message: "#^Property Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Product\\:\\:\\$entityCollection \\(Magento\\\\Catalog\\\\Model\\\\ResourceModel\\\\Product\\\\Collection\\) in empty\\(\\) is not falsy\\.$#"
count: 1
path: Model/Feed/Product.php
-
message: "#^Strict comparison using \\=\\=\\= between false and true will always evaluate to false\\.$#"
count: 1
path: Model/Feed/Product.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\ProductToColumnMapper\\:\\:getProductDataArray\\(\\) has parameter \\$attributes with no value type specified in iterable type array\\.$#"
count: 1
path: Model/Feed/ProductToColumnMapper.php
-
message: "#^Constructor of class Recolize\\\\RecommendationEngine\\\\Model\\\\Feed\\\\Writer has an unused parameter \\$destination\\.$#"
count: 1
path: Model/Feed/Writer.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Model\\\\User\\:\\:getCustomerId\\(\\) should return int\\|null but returns string\\.$#"
count: 1
path: Model/User.php
-
message: "#^Property Recolize\\\\RecommendationEngine\\\\Model\\\\User\\:\\:\\$customerSession \\(Magento\\\\Customer\\\\Model\\\\Session\\\\Proxy\\) does not accept Magento\\\\Customer\\\\Model\\\\Session\\.$#"
count: 1
path: Model/User.php
-
message: "#^Parameter \\#1 \\$userId of method Recolize\\\\RecommendationEngine\\\\Model\\\\Cookie\\\\UserData\\:\\:setUserId\\(\\) expects int, null given\\.$#"
count: 1
path: Observer/ResetUserDataInCookie.php
-
message: "#^Method Recolize\\\\RecommendationEngine\\\\Setup\\\\Patch\\\\Data\\\\GenerateFeedPatch\\:\\:apply\\(\\) should return \\$this\\(Recolize\\\\RecommendationEngine\\\\Setup\\\\Patch\\\\Data\\\\GenerateFeedPatch\\) but return statement is missing\\.$#"
count: 1
path: Setup/Patch/Data/GenerateFeedPatch.php