-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
phpstan-baseline.neon
347 lines (278 loc) · 14.2 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
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
parameters:
ignoreErrors:
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AbstractInjector\\:\\:getFactory\\(\\) has parameter \\$type with no typehint specified\\.$#"
count: 1
path: src/CodeGenerator/AbstractInjector.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AbstractInjector\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/AbstractInjector.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AutoloadGenerator\\:\\:buildFromTemplate\\(\\) has parameter \\$replacements with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/AutoloadGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AutoloadGenerator\\:\\:generateClassmapCode\\(\\) has parameter \\$classmap with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/AutoloadGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AutoloadGenerator\\:\\:generateAutoloaderClass\\(\\) has parameter \\$classmap with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/AutoloadGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AutoloadGenerator\\:\\:ensureDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/AutoloadGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\AutoloadGenerator\\:\\:ensureOutputDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/AutoloadGenerator.php
-
message: "#^Property Laminas\\\\Di\\\\CodeGenerator\\\\FactoryGenerator\\:\\:\\$classmap type has no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/FactoryGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\FactoryGenerator\\:\\:getClassmap\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/FactoryGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\FactoryGenerator\\:\\:ensureDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/FactoryGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\FactoryGenerator\\:\\:ensureOutputDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/FactoryGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\FactoryInterface\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/FactoryInterface.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\InjectorGenerator\\:\\:ensureDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/InjectorGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\InjectorGenerator\\:\\:ensureOutputDirectory\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/CodeGenerator/InjectorGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\InjectorGenerator\\:\\:buildFromTemplate\\(\\) has parameter \\$replacements with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/InjectorGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\InjectorGenerator\\:\\:generateFactoryList\\(\\) has parameter \\$factories with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/InjectorGenerator.php
-
message: "#^Method Laminas\\\\Di\\\\CodeGenerator\\\\InjectorGenerator\\:\\:generateTypeFactory\\(\\) has parameter \\$factories with no value type specified in iterable type array\\.$#"
count: 1
path: src/CodeGenerator/InjectorGenerator.php
-
message: "#^Property Laminas\\\\Di\\\\Config\\:\\:\\$preferences type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Property Laminas\\\\Di\\\\Config\\:\\:\\$types type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:__construct\\(\\) has parameter \\$options with generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:__construct\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:getDataFromArray\\(\\) has parameter \\$data with generic interface ArrayAccess but does not specify its types\\: TKey, TValue$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:getDataFromArray\\(\\) has parameter \\$data with no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:getDataFromArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:getParameters\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:setParameters\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:setParameters\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\Config\\:\\:ensureArrayOrArrayAccess\\(\\) has parameter \\$options with no typehint specified\\.$#"
count: 1
path: src/Config.php
-
message: "#^Method Laminas\\\\Di\\\\ConfigInterface\\:\\:getParameters\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/ConfigInterface.php
-
message: "#^Method Laminas\\\\Di\\\\ConfigInterface\\:\\:setParameters\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/ConfigInterface.php
-
message: "#^Method Laminas\\\\Di\\\\ConfigInterface\\:\\:setParameters\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
count: 1
path: src/ConfigInterface.php
-
message: "#^Method Laminas\\\\Di\\\\ConfigProvider\\:\\:__invoke\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/ConfigProvider.php
-
message: "#^Method Laminas\\\\Di\\\\ConfigProvider\\:\\:getDependencyConfig\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/ConfigProvider.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:canCreate\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:canCreate\\(\\) has parameter \\$requestedName with no typehint specified\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:create\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:__invoke\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\AutowireFactory\\:\\:__invoke\\(\\) has parameter \\$requestedName with no typehint specified\\.$#"
count: 1
path: src/Container/AutowireFactory.php
-
message: "#^Method Laminas\\\\Di\\\\Container\\\\ServiceManager\\\\AutowireFactory\\:\\:__invoke\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/Container/ServiceManager/AutowireFactory.php
-
message: "#^Property Laminas\\\\Di\\\\DefaultContainer\\:\\:\\$services type has no value type specified in iterable type array\\.$#"
count: 1
path: src/DefaultContainer.php
-
message: "#^Method Laminas\\\\Di\\\\Definition\\\\ClassDefinitionInterface\\:\\:getReflection\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#"
count: 1
path: src/Definition/ClassDefinitionInterface.php
-
message: "#^Property Laminas\\\\Di\\\\Definition\\\\Reflection\\\\ClassDefinition\\:\\:\\$reflection with generic class ReflectionClass does not specify its types\\: T$#"
count: 1
path: src/Definition/Reflection/ClassDefinition.php
-
message: "#^Method Laminas\\\\Di\\\\Definition\\\\Reflection\\\\ClassDefinition\\:\\:__construct\\(\\) has parameter \\$class with generic class ReflectionClass but does not specify its types\\: T$#"
count: 1
path: src/Definition/Reflection/ClassDefinition.php
-
message: "#^Parameter \\#1 \\$argument of class ReflectionClass constructor expects class\\-string\\<T of object\\>\\|T of object, string given\\.$#"
count: 1
path: src/Definition/Reflection/ClassDefinition.php
-
message: "#^Method Laminas\\\\Di\\\\Definition\\\\Reflection\\\\ClassDefinition\\:\\:getReflection\\(\\) return type with generic class ReflectionClass does not specify its types\\: T$#"
count: 1
path: src/Definition/Reflection/ClassDefinition.php
-
message: "#^Call to an undefined method ReflectionType\\:\\:getName\\(\\)\\.$#"
count: 1
path: src/Definition/Reflection/Parameter.php
-
message: "#^Method Laminas\\\\Di\\\\Definition\\\\RuntimeDefinition\\:\\:loadClass\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Definition/RuntimeDefinition.php
-
message: "#^Method Laminas\\\\Di\\\\Definition\\\\RuntimeDefinition\\:\\:getClasses\\(\\) should return array\\<string\\> but returns array\\<int, int\\|string\\>\\.$#"
count: 1
path: src/Definition/RuntimeDefinition.php
-
message: "#^Method Laminas\\\\Di\\\\Injector\\:\\:create\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#"
count: 1
path: src/Injector.php
-
message: "#^Method Laminas\\\\Di\\\\Injector\\:\\:createInstance\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
count: 1
path: src/Injector.php
-
message: "#^Method Laminas\\\\Di\\\\Injector\\:\\:resolveParameters\\(\\) has parameter \\$params with no value type specified in iterable type array\\.$#"
count: 1
path: src/Injector.php
-
message: "#^Method Laminas\\\\Di\\\\Injector\\:\\:resolveParameters\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Injector.php
-
message: "#^Method Laminas\\\\Di\\\\InjectorInterface\\:\\:create\\(\\) has parameter \\$options with no value type specified in iterable type array\\.$#"
count: 1
path: src/InjectorInterface.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:__construct\\(\\) has parameter \\$config with no typehint specified\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:prepareParametersArray\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:prepareParametersArray\\(\\) has parameter \\$parameters with no typehint specified\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:configureInstance\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:configureInstance\\(\\) has parameter \\$config with no typehint specified\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\LegacyConfig\\:\\:toArray\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/LegacyConfig.php
-
message: "#^Method Laminas\\\\Di\\\\Module\\:\\:getConfig\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Module.php
-
message: "#^Laminas\\\\Di\\\\Resolver\\\\AbstractInjection is deprecated, please migrate to Laminas\\\\Di\\\\Resolver\\\\InjectionInterface$#"
count: 1
path: src/Resolver/AbstractInjection.php
-
message: "#^Property Laminas\\\\Di\\\\Resolver\\\\DependencyResolver\\:\\:\\$gettypeMap has no typehint specified\\.$#"
count: 1
path: src/Resolver/DependencyResolver.php
-
message: "#^Method Laminas\\\\Di\\\\Resolver\\\\DependencyResolver\\:\\:getConfiguredParameters\\(\\) return type has no value type specified in iterable type array\\.$#"
count: 1
path: src/Resolver/DependencyResolver.php
-
message: "#^Method Laminas\\\\Di\\\\Resolver\\\\DependencyResolver\\:\\:resolveParameters\\(\\) has parameter \\$callTimeParameters with no value type specified in iterable type array\\.$#"
count: 1
path: src/Resolver/DependencyResolver.php
-
message: "#^Method Laminas\\\\Di\\\\Resolver\\\\DependencyResolverInterface\\:\\:resolveParameters\\(\\) has parameter \\$parameters with no value type specified in iterable type array\\.$#"
count: 1
path: src/Resolver/DependencyResolverInterface.php
-
message: "#^Method Laminas\\\\Di\\\\Resolver\\\\ValueInjection\\:\\:__set_state\\(\\) has parameter \\$state with no value type specified in iterable type array\\.$#"
count: 1
path: src/Resolver/ValueInjection.php
-
message: "#^Method Laminas\\\\Di\\\\Resolver\\\\ValueInjection\\:\\:getValue\\(\\) has no return typehint specified\\.$#"
count: 1
path: src/Resolver/ValueInjection.php