-
Notifications
You must be signed in to change notification settings - Fork 26
/
phpstan-baseline.neon
321 lines (258 loc) · 13.1 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
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
parameters:
ignoreErrors:
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Adapter\\\\Artax\\\\ImmutableCookieJar\\:\\:store\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
count: 1
path: lib/Adapter/Artax/ImmutableCookieJar.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Adapter\\\\Artax\\\\NetscapeCookieFileJar\\:\\:getAll\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Adapter/Artax/NetscapeCookieFileJar.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Adapter\\\\Artax\\\\NetscapeCookieFileJar\\:\\:store\\(\\) return type with generic interface Amp\\\\Promise does not specify its types\\: TValue$#"
count: 1
path: lib/Adapter/Artax/NetscapeCookieFileJar.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToArray\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToBool\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToFloat\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToInt\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:castToString\\(\\) has parameter \\$value with no type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Command\\\\CrawlCommand\\:\\:configure\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/Command/CrawlCommand.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\ConcatenatingDisplay\\:\\:__construct\\(\\) has parameter \\$displays with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/Display/ConcatenatingDisplay.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\RateDisplay\\:\\:averageRequestTime\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/Display/RateDisplay.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\RateDisplay\\:\\:\\$initialTime has no type specified\\.$#"
count: 1
path: lib/Console/Display/RateDisplay.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\RateDisplay\\:\\:\\$lastRequestCount has no type specified\\.$#"
count: 1
path: lib/Console/Display/RateDisplay.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\RateDisplay\\:\\:\\$requestCounts has no type specified\\.$#"
count: 1
path: lib/Console/Display/RateDisplay.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\ReportListDisplay\\:\\:resolveFormat\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/Display/ReportListDisplay.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\Display\\\\UptimeDisplay\\:\\:\\$windowSize is unused\\.$#"
count: 1
path: lib/Console/Display/UptimeDisplay.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:__construct\\(\\) has parameter \\$defaut with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:initializeDisplayNames\\(\\) has parameter \\$units with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:initializeDisplayNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:removeDisplayNames\\(\\) has parameter \\$units with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:removeDisplayNames\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayBuilder\\:\\:\\$default type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayRegistry\\:\\:__construct\\(\\) has parameter \\$displays with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayRegistry.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayRegistry\\:\\:add\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/DisplayRegistry.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayRegistry\\:\\:get\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/DisplayRegistry.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Console\\\\DisplayRegistry\\:\\:\\$displays type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/DisplayRegistry.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\HeaderParser\\:\\:parseHeaders\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Console/HeaderParser.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Console\\\\HeaderParser\\:\\:parseHeaders\\(\\) has parameter \\$rawHeaders with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Console/HeaderParser.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:buildPublishStream\\(\\) has no return type specified\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:buildPublisher\\(\\) has no return type specified\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:create\\(\\) has parameter \\$urls with no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:excludeUrlPatterns\\(\\) has parameter \\$urlPatterns with no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:headers\\(\\) has parameter \\$headers with no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:includeLinks\\(\\) has parameter \\$includeLinks with no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:publishResource\\(\\) has parameter \\$resource with no type specified\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:\\$excludeUrlPatterns type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\DispatcherBuilder\\:\\:\\$headers type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/DispatcherBuilder.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\FinkExtension\\:\\:configure\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/FinkExtension.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\FinkExtension\\:\\:configure\\(\\) should return array but return statement is missing\\.$#"
count: 1
path: lib/FinkExtension.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\FinkExtension\\:\\:load\\(\\) has no return type specified\\.$#"
count: 1
path: lib/FinkExtension.php
-
message: "#^Argument of an invalid type DOMNodeList\\<DOMNode\\>\\|false supplied for foreach, only iterables are supported\\.$#"
count: 1
path: lib/Model/Crawler.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Dispatcher\\:\\:dispatch\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Model/Dispatcher.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\Dispatcher\\:\\:\\$maxDistance is unused\\.$#"
count: 1
path: lib/Model/Dispatcher.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\DispatcherBuilderFactory\\:\\:createForUrls\\(\\) has parameter \\$urls with no type specified\\.$#"
count: 1
path: lib/Model/DispatcherBuilderFactory.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Limiter\\\\ChainLimiter\\:\\:__construct\\(\\) has parameter \\$limiters with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Limiter/ChainLimiter.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Limiter\\\\ChainLimiter\\:\\:add\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Model/Limiter/ChainLimiter.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\Limiter\\\\RateLimiter\\:\\:\\$lastRequest has no type specified\\.$#"
count: 1
path: lib/Model/Limiter/RateLimiter.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Publisher\\\\CsvStreamPublisher\\:\\:__construct\\(\\) has parameter \\$stream with no type specified\\.$#"
count: 1
path: lib/Model/Publisher/CsvStreamPublisher.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\Queue\\\\DedupeQueue\\:\\:\\$seen has no type specified\\.$#"
count: 1
path: lib/Model/Queue/DedupeQueue.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Queue\\\\ExcludingQueue\\:\\:__construct\\(\\) has parameter \\$patterns with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Queue/ExcludingQueue.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\Queue\\\\ExcludingQueue\\:\\:\\$patterns type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Queue/ExcludingQueue.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\Queue\\\\RealUrlQueue\\:\\:\\$urls has no type specified\\.$#"
count: 1
path: lib/Model/Queue/RealUrlQueue.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\ReferringElement\\:\\:\\$baseUri has no type specified\\.$#"
count: 1
path: lib/Model/ReferringElement.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\ReferringElement\\:\\:\\$title has no type specified\\.$#"
count: 1
path: lib/Model/ReferringElement.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\ReferringElement\\:\\:\\$xpath has no type specified\\.$#"
count: 1
path: lib/Model/ReferringElement.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Report\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Report.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\ReportBuilder\\:\\:withTimestamp\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Model/ReportBuilder.php
-
message: "#^Property DTL\\\\Extension\\\\Fink\\\\Model\\\\ReportBuilder\\:\\:\\$referringUrl is never read, only written\\.$#"
count: 1
path: lib/Model/ReportBuilder.php
-
message: "#^Class DTL\\\\Extension\\\\Fink\\\\Model\\\\Urls implements generic interface IteratorAggregate but does not specify its types\\: TKey, TValue$#"
count: 1
path: lib/Model/Urls.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Urls\\:\\:__construct\\(\\) has parameter \\$urls with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Urls.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Urls\\:\\:add\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Model/Urls.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Urls\\:\\:fromUrls\\(\\) has no return type specified\\.$#"
count: 1
path: lib/Model/Urls.php
-
message: "#^Method DTL\\\\Extension\\\\Fink\\\\Model\\\\Urls\\:\\:fromUrls\\(\\) has parameter \\$urls with no value type specified in iterable type array\\.$#"
count: 1
path: lib/Model/Urls.php