-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathphpstan-baseline.neon
307 lines (257 loc) · 11.7 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
parameters:
ignoreErrors:
-
message: '#^Parameter \#1 \$environment of class App\\Kernel constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: public/index.php
-
message: '#^Cannot access offset ''composer_name'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Command/ExtensionsTerJsonCreateCommand.php
-
message: '#^Cannot access offset ''error'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/ExtensionsTerJsonCreateCommand.php
-
message: '#^Parameter \#1 \$dependencies of method App\\Command\\ExtensionsTerJsonCreateCommand\:\:getPackageLinks\(\) expects array\<string, array\<string, string\>\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Command/ExtensionsTerJsonCreateCommand.php
-
message: '#^Parameter \#1 \$message of class RuntimeException constructor expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Command/ExtensionsTerJsonCreateCommand.php
-
message: '#^Property App\\Command\\ExtensionsTerJsonCreateCommand\:\:\$extensions \(array\<int, SimpleXMLElement\>\) does not accept array\<SimpleXMLElement\>\.$#'
identifier: assign.propertyType
count: 1
path: src/Command/ExtensionsTerJsonCreateCommand.php
-
message: '#^Argument of an invalid type mixed supplied for foreach, only iterables are supported\.$#'
identifier: foreach.nonIterable
count: 1
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Binary operation "\." between mixed and ''\:'' results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Cannot access offset ''releases'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Cannot access offset ''tar'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Cannot access offset ''url'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 2
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Cannot access offset ''zip'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Parameter \#1 \$url of method App\\Command\\ListMissingDownloadsCommand\:\:getFixedUrl\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Parameter \#2 \$release of method App\\Command\\ListMissingDownloadsCommand\:\:getFixedUrl\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Command/ListMissingDownloadsCommand.php
-
message: '#^Parameter \#1 \$packages of method App\\Service\\ComposerPackagesService\:\:cleanPackagesForVersions\(\) expects array\<string, bool\|string\>, array\<mixed\> given\.$#'
identifier: argument.type
count: 1
path: src/Controller/DefaultController.php
-
message: '#^Binary operation "\." between ''https\://cdn\.typo3…'' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Cannot access offset ''latest'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Cannot access offset ''releases'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Cannot access offset ''version'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Cannot access offset mixed on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Cannot cast mixed to string\.$#'
identifier: cast.string
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Method App\\Controller\\DownloadController\:\:getDownloadRedirect\(\) should return array\{url\: string, version\: string, format\: string\} but returns array\{url\: non\-falsy\-string, version\: mixed, format\: ''tar\.gz''\|''tar\.gz\.sig''\|''zip''\|''zip\.sig''\}\.$#'
identifier: return.type
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Parameter \#1 \$version1 of function version_compare expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Controller/DownloadController.php
-
message: '#^Method App\\Controller\\SitePackageController\:\:createEditSitePackageForm\(\) return type with generic interface Symfony\\Component\\Form\\FormInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Controller/SitePackageController.php
-
message: '#^Method App\\Controller\\SitePackageController\:\:createNewSitePackageForm\(\) return type with generic interface Symfony\\Component\\Form\\FormInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Controller/SitePackageController.php
-
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#'
identifier: argument.type
count: 1
path: src/DataFixtures/ReleaseFixtures.php
-
message: '#^Method App\\Entity\\Release\:\:getMajorVersion\(\) should return App\\Entity\\MajorVersion but returns App\\Entity\\MajorVersion\|null\.$#'
identifier: return.type
count: 1
path: src/Entity/Release.php
-
message: '#^Binary operation "\." between ''Unknown option \('' and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Enum/AbstractEnum.php
-
message: '#^Class App\\Form\\AuthorType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Form/AuthorType.php
-
message: '#^Method App\\Form\\AuthorType\:\:buildForm\(\) has no return type specified\.$#'
identifier: missingType.return
count: 1
path: src/Form/AuthorType.php
-
message: '#^Cannot access offset ''icon'' on mixed\.$#'
identifier: offsetAccess.nonOffsetAccessible
count: 1
path: src/Form/Extension/AbstractIconExtension.php
-
message: '#^Class App\\Form\\SitePackageType extends generic class Symfony\\Component\\Form\\AbstractType but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Form/SitePackageType.php
-
message: '#^Parameter \#1 \$action of method Symfony\\Component\\Form\\FormConfigBuilderInterface\<mixed\>\:\:setAction\(\) expects string, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Form/SitePackageType.php
-
message: '#^Offset ''repositories'' might not exist on array\{name\: string, homepage\: string\|null, repositories\?\: array\<int, array\<string, string\>\>\|null, require\?\: array\<string, string\>\|null, require\-all\: bool, require\-dependencies\: bool, require\-dev\-dependencies\: bool\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/Model/SatisJson.php
-
message: '#^Offset ''require'' might not exist on array\{name\: string, homepage\: string\|null, repositories\?\: non\-empty\-array\<int, array\<string, string\>\>\|null, require\?\: array\<string, string\>\|null, require\-all\: bool, require\-dependencies\: bool, require\-dev\-dependencies\: bool\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/Model/SatisJson.php
-
message: '#^Method App\\Repository\\MajorVersionRepository\:\:findAllActiveElts\(\) should return array\<App\\Entity\\MajorVersion\> but returns array\<mixed, mixed\>\.$#'
identifier: return.type
count: 1
path: src/Repository/MajorVersionRepository.php
-
message: '#^Method App\\Repository\\MajorVersionRepository\:\:findAllComposerSupported\(\) should return array\<App\\Entity\\MajorVersion\> but returns array\<mixed, mixed\>\.$#'
identifier: return.type
count: 1
path: src/Repository/MajorVersionRepository.php
-
message: '#^Method App\\Repository\\MajorVersionRepository\:\:findLatestLtsComposerSupported\(\) should return App\\Entity\\MajorVersion\|null but returns mixed\.$#'
identifier: return.type
count: 1
path: src/Repository/MajorVersionRepository.php
-
message: '#^Parameter \#1 \$version of method App\\Repository\\MajorVersionRepository\:\:majorVersionDescending\(\) expects App\\Entity\\MajorVersion, mixed given\.$#'
identifier: argument.type
count: 2
path: src/Repository/MajorVersionRepository.php
-
message: '#^Parameter \#1 \$versions of method App\\Repository\\MajorVersionRepository\:\:removeVersionsWithoutReleases\(\) expects array\<int, App\\Entity\\MajorVersion\>, array\<mixed, mixed\> given\.$#'
identifier: argument.type
count: 3
path: src/Repository/MajorVersionRepository.php
-
message: '#^Binary operation "\." between non\-falsy\-string and mixed results in an error\.$#'
identifier: binaryOp.invalid
count: 1
path: src/Service/CacheWarmupService.php
-
message: '#^Cannot call method getStatusCode\(\) on mixed\.$#'
identifier: method.nonObject
count: 1
path: src/Service/CacheWarmupService.php
-
message: '#^Method App\\Service\\ComposerPackagesService\:\:buildForm\(\) has parameter \$builder with generic interface Symfony\\Component\\Form\\FormBuilderInterface but does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Service/ComposerPackagesService.php
-
message: '#^Method App\\Service\\ComposerPackagesService\:\:buildForm\(\) return type with generic interface Symfony\\Component\\Form\\FormInterface does not specify its types\: TData$#'
identifier: missingType.generics
count: 1
path: src/Service/ComposerPackagesService.php
-
message: '#^Offset 0 might not exist on array\{0\?\: string\}\.$#'
identifier: offsetAccess.notFound
count: 1
path: src/Service/ComposerPackagesService.php
-
message: '#^Parameter \#1 \$child of method Symfony\\Component\\Form\\FormBuilderInterface\<mixed\>\:\:add\(\) expects string\|Symfony\\Component\\Form\\FormBuilderInterface, list\<string\>\|string given\.$#'
identifier: argument.type
count: 1
path: src/Service/ComposerPackagesService.php
-
message: '#^Method App\\Service\\SitePackageBaseService\:\:getBasePackageVersionChoices\(\) should return array\<string, float\> but returns array\<int\|string, float\>\.$#'
identifier: return.type
count: 1
path: src/Service/SitePackageBaseService.php
-
message: '#^Parameter \#1 \$releases of method App\\Twig\\Filter\\SortByVersion\:\:sort\(\) expects Doctrine\\Common\\Collections\\Collection\<int, App\\Entity\\Release\>, mixed given\.$#'
identifier: argument.type
count: 1
path: src/Twig/Filter/SortByVersion.php
-
message: '#^Method App\\Tests\\Functional\\Controller\\Api\\ApiCase\:\:decodeResponse\(\) should return array\<string, mixed\> but returns array\<mixed, mixed\>\.$#'
identifier: return.type
count: 1
path: tests/Functional/Controller/Api/ApiCase.php