Repository navigation
Expand file tree
/
Copy pathphpstan-baseline-13.neon
More file actions
361 lines (302 loc) · 14.9 KB
/
Copy pathphpstan-baseline-13.neon
File metadata and controls
361 lines (302 loc) · 14.9 KB
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
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
parameters:
ignoreErrors:
-
message: '#^Access to constant MULTI_SELECT on an unknown class TYPO3\\CMS\\Backend\\Template\\Components\\Buttons\\LanguageSelectorMode\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Access to constant SINGLE_SELECT on an unknown class TYPO3\\CMS\\Backend\\Template\\Components\\Buttons\\LanguageSelectorMode\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Access to property \$languageInformation on an unknown class TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 2
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Access to property \$pageId on an unknown class TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 3
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Access to property \$pageTsConfig on an unknown class TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Access to property \$selectedLanguageIds on an unknown class TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 2
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Backend\\Template\\Components\\DocHeaderComponent\:\:disableAutomaticReloadButton\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Backend\\Template\\Components\\DocHeaderComponent\:\:setLanguageSelector\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Backend\\Template\\Components\\DocHeaderComponent\:\:setPageBreadcrumb\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Backend\\Template\\Components\\DocHeaderComponent\:\:setShortcutContext\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Backend\\View\\Drawing\\DrawingConfiguration\:\:setSelectedLanguageIds\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to an undefined method TYPO3\\CMS\\Core\\DataHandling\\PageDoktypeRegistry\:\:isPageViewable\(\)\.$#'
identifier: method.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to method build\(\) on an unknown class TYPO3\\CMS\\Backend\\Template\\Components\\Buttons\\LanguageSelectorBuilder\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to method createMenu\(\) on an unknown class TYPO3\\CMS\\Backend\\Template\\Components\\ComponentFactory\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to method createMenuItem\(\) on an unknown class TYPO3\\CMS\\Backend\\Template\\Components\\ComponentFactory\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to method hasMultipleLanguagesSelected\(\) on an unknown class TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Cannot call method getRequestUri\(\) on TYPO3\\CMS\\Core\\Http\\NormalizedParams\|null\.$#'
identifier: method.nonObject
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Class TYPO3\\CMS\\Backend\\Context\\PageContext not found\.$#'
identifier: class.notFound
count: 3
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Class TYPO3\\CMS\\Backend\\Template\\Components\\Buttons\\LanguageSelectorBuilder not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Class TYPO3\\CMS\\Backend\\Template\\Components\\ComponentFactory not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Class TYPO3\\CMS\\Backend\\View\\PageLayoutContext constructor invoked with 4 parameters, 5 required\.$#'
identifier: arguments.count
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Method TYPO3\\CMS\\Backend\\View\\BackendLayout\\ContentFetcher\:\:getFlatContentRecords\(\) invoked with 2 parameters, 1 required\.$#'
identifier: arguments.count
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Method TYPO3\\CMS\\Backend\\View\\BackendLayout\\ContentFetcher\:\:getTranslationData\(\) invoked with 3 parameters, 2 required\.$#'
identifier: arguments.count
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#1 \$backendLayout of static method TYPO3\\CMS\\Backend\\View\\Drawing\\DrawingConfiguration\:\:create\(\) expects TYPO3\\CMS\\Backend\\View\\BackendLayout\\BackendLayout, TYPO3\\CMS\\Backend\\View\\BackendLayout\\BackendLayout\|null given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#1 \$contentElements of method TYPO3\\CMS\\Backend\\View\\BackendLayout\\ContentFetcher\:\:getTranslationData\(\) expects iterable, TYPO3\\CMS\\Backend\\View\\PageLayoutContext given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#1 \$languageId of method TYPO3\\CMS\\Backend\\View\\BackendLayout\\ContentFetcher\:\:getFlatContentRecords\(\) expects int, TYPO3\\CMS\\Backend\\View\\PageLayoutContext given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#1 \$pageRecord of class TYPO3\\CMS\\Backend\\View\\PageLayoutContext constructor expects array, TYPO3\\CMS\\Backend\\Context\\PageContext given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#2 \$backendLayout of class TYPO3\\CMS\\Backend\\View\\PageLayoutContext constructor expects TYPO3\\CMS\\Backend\\View\\BackendLayout\\BackendLayout, TYPO3\\CMS\\Backend\\View\\BackendLayout\\BackendLayout\|null given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#2 \$language of method TYPO3\\CMS\\Backend\\View\\BackendLayout\\ContentFetcher\:\:getTranslationData\(\) expects int, iterable given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#3 \$site of class TYPO3\\CMS\\Backend\\View\\PageLayoutContext constructor expects TYPO3\\CMS\\Core\\Site\\Entity\\SiteInterface, TYPO3\\CMS\\Backend\\View\\Drawing\\DrawingConfiguration given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \#4 \$drawingConfiguration of class TYPO3\\CMS\\Backend\\View\\PageLayoutContext constructor expects TYPO3\\CMS\\Backend\\View\\Drawing\\DrawingConfiguration, Psr\\Http\\Message\\ServerRequestInterface given\.$#'
identifier: argument.type
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Parameter \$pageContext of method TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:buildViewModeSwitchParams\(\) has invalid type TYPO3\\CMS\\Backend\\Context\\PageContext\.$#'
identifier: class.notFound
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:\$moduleData \(TYPO3\\CMS\\Backend\\Module\\ModuleData\) does not accept TYPO3\\CMS\\Backend\\Module\\ModuleData\|null\.$#'
identifier: assign.propertyType
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\Backend\\Controller\\PageEditController\:\:\$selectedLanguages \(list\<TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage\>\) does not accept array\<int\<0, max\>, TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage\>\.$#'
identifier: assign.propertyType
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Unable to resolve the template type T in call to function array_values$#'
identifier: argument.templateType
count: 1
path: Classes/Backend/Controller/PageEditController.php
-
message: '#^Call to method createPublicResource\(\) on an unknown class TYPO3\\CMS\\Core\\SystemResource\\SystemResourceFactory\.$#'
identifier: class.notFound
count: 1
path: Classes/Core/RichtText/RichTextConfigurationService.php
-
message: '#^Call to method generateUri\(\) on an unknown class TYPO3\\CMS\\Core\\SystemResource\\Publishing\\SystemResourcePublisherInterface\.$#'
identifier: class.notFound
count: 1
path: Classes/Core/RichtText/RichTextConfigurationService.php
-
message: '#^Class TYPO3\\CMS\\Core\\SystemResource\\Publishing\\SystemResourcePublisherInterface not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Core/RichtText/RichTextConfigurationService.php
-
message: '#^Class TYPO3\\CMS\\Core\\SystemResource\\SystemResourceFactory not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Core/RichtText/RichTextConfigurationService.php
-
message: '#^Instantiated class TYPO3\\CMS\\Core\\SystemResource\\Publishing\\UriGenerationOptions not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Core/RichtText/RichTextConfigurationService.php
-
message: '#^Access to an undefined property TYPO3\\CMS\\Core\\Security\\ContentSecurityPolicy\\Configuration\\Behavior\:\:\$useHash\.$#'
identifier: property.notFound
count: 1
path: Classes/EventListener/PolicyMutatedEventListener.php
-
message: '#^Call to method getContentArea\(\) on an unknown class TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent\.$#'
identifier: class.notFound
count: 6
path: Classes/EventListener/RenderContentAreaEventListener.php
-
message: '#^Call to method getRenderedContentArea\(\) on an unknown class TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent\.$#'
identifier: class.notFound
count: 1
path: Classes/EventListener/RenderContentAreaEventListener.php
-
message: '#^Call to method getRequest\(\) on an unknown class TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent\.$#'
identifier: class.notFound
count: 3
path: Classes/EventListener/RenderContentAreaEventListener.php
-
message: '#^Call to method setRenderedContentArea\(\) on an unknown class TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent\.$#'
identifier: class.notFound
count: 1
path: Classes/EventListener/RenderContentAreaEventListener.php
-
message: '#^Parameter \$event of method TYPO3\\CMS\\VisualEditor\\EventListener\\RenderContentAreaEventListener\:\:__invoke\(\) has invalid type TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent\.$#'
identifier: class.notFound
count: 1
path: Classes/EventListener/RenderContentAreaEventListener.php
-
message: '#^Class TYPO3\\CMS\\Backend\\Middleware\\JavaScriptLabelImportMapEntryResolver not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Middleware/EditModeMiddleware.php
-
message: '#^Class TYPO3\\CMS\\Core\\Page\\Event\\ResolveVirtualJavaScriptImportEvent not found\.$#'
identifier: class.notFound
count: 1
path: Classes/Middleware/EditModeMiddleware.php
-
message: '#^Call to an undefined method PhpParser\\Node\\Expr\|PhpParser\\Node\\Identifier\:\:toString\(\)\.$#'
identifier: method.notFound
count: 4
path: Classes/PhpStanRule/NamedArgumentUsageRule.php
-
message: '#^Method TYPO3\\CMS\\VisualEditor\\Service\\DataHandlerService\:\:run\(\) should return list\<string\> but returns array\.$#'
identifier: return.type
count: 1
path: Classes/Service/DataHandlerService.php
-
message: '#^Cannot call method getGroupedRecords\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: Classes/Service/LanguageModeService.php
-
message: '#^Property TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:\$renderingContext \(TYPO3Fluid\\Fluid\\Core\\Rendering\\RenderingContextInterface\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: Classes/ViewHelpers/EditModeViewHelper.php
-
message: '#^Property TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:\$renderingContext \(TYPO3Fluid\\Fluid\\Core\\Rendering\\RenderingContextInterface\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: Classes/ViewHelpers/ImageViewHelper.php
-
message: '#^Call to method instantiate\(\) on an unknown class TYPO3\\CMS\\Core\\Page\\ContentAreaClosure\.$#'
identifier: class.notFound
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Cannot call method withRequest\(\) on array\.$#'
identifier: method.nonObject
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Class TYPO3\\CMS\\Core\\Page\\ContentAreaClosure not found\.$#'
identifier: class.notFound
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Property TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:\$renderingContext \(TYPO3Fluid\\Fluid\\Core\\Rendering\\RenderingContextInterface\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 1
path: Classes/ViewHelpers/Mark/ContentAreaViewHelper.php
-
message: '#^Property TYPO3Fluid\\Fluid\\Core\\ViewHelper\\AbstractViewHelper\:\:\$renderingContext \(TYPO3Fluid\\Fluid\\Core\\Rendering\\RenderingContextInterface\) on left side of \?\? is not nullable\.$#'
identifier: nullCoalesce.property
count: 2
path: Classes/ViewHelpers/Render/TextViewHelper.php
-
message: '#^Property TYPO3\\CMS\\VisualEditor\\ViewHelpers\\Render\\TextViewHelper\:\:\$typo3Version on left side of \?\? is not nullable nor uninitialized\.$#'
identifier: nullCoalesce.initializedProperty
count: 1
path: Classes/ViewHelpers/Render/TextViewHelper.php
-
message: '#^Class TYPO3\\CMS\\Fluid\\Event\\ModifyRenderedContentAreaEvent not found\.$#'
identifier: class.notFound
count: 1
path: ext_localconf.php