forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
281 lines (242 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
parameters:
ignoreErrors:
-
message: "#^Call to an undefined method TYPO3\\\\CMS\\\\Core\\\\Package\\\\MetaData\\:\\:getTitle\\(\\)\\.$#"
count: 1
path: Classes/Integration/FormEngine/PageLayoutSelector.php
-
message: "#^Call to an undefined static method TYPO3\\\\CMS\\\\Core\\\\Utility\\\\PathUtility\\:\\:getPublicResourceWebPath\\(\\)\\.$#"
count: 2
path: Classes/Integration/FormEngine/PageLayoutSelector.php
-
message: "#^Property .+ does not accept#"
count: 4
path: Classes/Integration/FormEngine/PageLayoutSelector.php
-
message: "#^Variable \\$EM_CONF might not be defined\\.$#"
count: 1
path: Classes/Backend/PageLayoutDataProvider.php
-
message: "#^Call to an undefined (static )?method TYPO3\\\\CMS\\\\Extbase\\\\Configuration\\\\(Frontend|Backend)?ConfigurationManager\\:\\:setRequest\\(\\)\\.$#"
count: 3
path: Classes/Integration/Overrides/AbstractChimeraConfigurationManager.php
-
message: "#^Instanceof between mixed and TYPO3\\\\CMS\\\\Core\\\\Http\\\\ServerRequest will always evaluate to false\\.$#"
count: 1
path: Classes/Integration/Overrides/AbstractChimeraConfigurationManager.php
-
message: "#^Access to an undefined property FluidTYPO3\\\\Flux\\\\Integration\\\\Overrides\\\\LegacyChimeraConfigurationManager\\:\\:\\$objectManager\\.$#"
count: 2
path: Classes/Integration/Overrides/LegacyChimeraConfigurationManager.php
-
message: "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Configuration\\\\ConfigurationManager\\:\\:__construct\\(\\) invoked with 1 parameter, 2 required\\.$#"
count: 1
path: Classes/Integration/Overrides/ChimeraConfigurationManager.php
-
message: "#^Parameter \\#1 \\$objectManager of method TYPO3\\\\CMS\\\\Extbase\\\\Configuration\\\\ConfigurationManager\\:\\:__construct\\(\\) expects TYPO3\\\\CMS\\\\Extbase\\\\Object\\\\ObjectManagerInterface, Psr\\\\Container\\\\ContainerInterface given\\.$#"
count: 1
path: Classes/Integration/Overrides/ChimeraConfigurationManager.php
-
message: "#^Method FluidTYPO3\\\\Flux\\\\Service\\\\RecordService\\:\\:update\\(\\) has invalid return type Doctrine\\\\DBAL\\\\Driver\\\\ResultStatement\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Call to function property_exists\\(\\) with \\$this\\(FluidTYPO3\\\\Flux\\\\Integration\\\\BackendLayoutRenderer\\) and 'context' will always evaluate to false\\.$#"
count: 2
path: Classes/Integration/BackendLayoutRenderer.php
-
message: "#^Caught class Doctrine\\\\DBAL\\\\DBALException not found\\.$#"
count: 1
path: Classes/Content/ContentTypeManager.php
-
message: "#^Caught class TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Exception\\\\StopActionException not found\\.$#"
count: 1
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Method FluidTYPO3\\\\Flux\\\\Integration\\\\BackendLayoutRenderer\\:\\:getContext\\(\\) should return TYPO3\\\\CMS\\\\Backend\\\\View\\\\PageLayoutContext but returns TYPO3\\\\CMS\\\\Backend\\\\View\\\\PageLayoutContext\\|null\\.$#"
count: 1
path: Classes/Integration/BackendLayoutRenderer.php
-
message: "#^Call to function property_exists\\(\\) with \\$this\\(FluidTYPO3\\\\Flux\\\\Controller\\\\AbstractFluxController\\) and 'responseFactory' will always evaluate to false\\.$#"
count: 2
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Call to an undefined static method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Controller\\\\ActionController\\:\\:htmlResponse\\(\\)\\.$#"
count: 1
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Property TYPO3\\\\CMS\\\\Backend\\\\View\\\\Drawing\\\\BackendLayoutRenderer\\:\\:\\$context \\(TYPO3\\\\CMS\\\\Backend\\\\View\\\\PageLayoutContext\\) on left side of \\?\\? is not nullable\\.$#"
count: 1
path: Classes/Integration/BackendLayoutRenderer.php
-
message: "#Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/AbstractFormViewHelper.php
-
message: "#Call to an undefined method TYPO3Fluid\\\\Fluid\\\\View\\\\ViewInterface\\:\\:getRenderingContext\\(\\)\\.$#"
count: 2
path: Classes/Provider/AbstractProvider.php
-
message: "#^Method FluidTYPO3\\\\Flux\\\\Service\\\\FluxService\\:\\:getFlexFormService\\(\\) has invalid return type TYPO3\\\\CMS\\\\(Core|Extbase)\\\\Service\\\\FlexFormService\\.$#"
count: 1
path: Classes/Service/FluxService.php
-
message: "#^Right side of \\|\\| is always false\\.$#"
count: 1
path: Configuration/TCA/content_types.php
-
message: "#^Method FluidTYPO3\\\\Flux\\\\Service\\\\RecordService\\:\\:update\\(\\) has invalid return type Doctrine\\\\DBAL\\\\Result\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Property TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Controller\\\\ActionController\\:\\:\\$responseFactory \\(Psr\\\\Http\\\\Message\\\\ResponseFactoryInterface\\) in isset\\(\\) is not nullable\\.$#"
count: 2
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Access to an undefined property FluidTYPO3\\\\Flux\\\\Controller\\\\AbstractFluxController\\:\\:\\$response\\.$#"
count: 2
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Parameter \\$caller of method FluidTYPO3\\\\Flux\\\\Integration\\\\HookSubscribers\\\\ContentIcon\\:\\:addSubIcon\\(\\) has invalid type TYPO3\\\\CMS\\\\Backend\\\\View\\\\BackendLayout\\\\Grid\\\\GridColumnItem\\.$#"
count: 1
path: Classes/Integration/HookSubscribers/ContentIcon.php
-
message: "#^Cannot call method getContent\\(\\) on class-string\\|object\\.$#"
count: 1
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Mvc\\\\Controller\\\\ControllerInterface\\:\\:processRequest\\(\\) invoked with 1 parameter, 2 required\\.$#"
count: 1
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Method TYPO3\\\\CMS\\\\Core\\\\Database\\\\Query\\\\QueryBuilder\\:\\:set\\(\\) invoked with 4 parameters, 2-3 required\\.$#"
count: 1
path: Classes/Integration/HookSubscribers/DataHandlerSubscriber.php
-
message: "#^Offset 'function' on array(.+) on left side of \\?\\? always exists and is not nullable\\.$#"
count: 1
path: Classes/Integration/ContentTypeBuilder.php
-
message: "#^Strict comparison using === between TYPO3\\\\CMS\\\\Extbase\\\\Validation\\\\Validator\\\\ValidatorInterface and null will always evaluate to false\\.$#"
count: 1
path: Classes/Outlet/OutletArgument.php
-
message: "#^If condition is always true\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Strict comparison using === between 'CLI' and 'BE' will always evaluate to false\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Else branch is unreachable because previous condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/AbstractFormViewHelper.php
-
message: "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Object\\\\ObjectManagerInterface\\:\\:get\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 1
path: Classes/Controller/AbstractFluxController.php
-
message: "#^Method TYPO3\\\\CMS\\\\Extbase\\\\Object\\\\ObjectManagerInterface\\:\\:get\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 1
path: Classes/Form/Transformation/FormDataTransformer.php
-
message: "#^Call to method setPayload\\(\\) on an unknown class TYPO3\\\\CMS\\\\Core\\\\Http\\\\JsonResponse\\.$#"
count: 1
path: Classes/Integration/Overrides/LocalizationController.php
-
message: "#^Method TYPO3\\\\CMS\\\\Backend\\\\Controller\\\\Page\\\\LocalizationController\\:\\:getRecordLocalizeSummary\\(\\) invoked with 2 parameters, 1 required\\.$#"
count: 1
path: Classes/Integration/Overrides/LocalizationController.php
-
message: "#^Call to method setAspect\\(\\) on an unknown class TYPO3\\\\CMS\\\\Core\\\\Context\\\\Context\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Constructor of class FluidTYPO3\\\\Flux\\\\Integration\\\\FormEngine\\\\TemplateSourceDumperNode has an unused parameter \\$nodeFactory\\.$#"
count: 1
path: Classes/Integration/FormEngine/TemplateSourceDumperNode.php
-
message: "#^Constructor of class FluidTYPO3\\\\Flux\\\\Integration\\\\FormEngine\\\\HtmlOutputNode has an unused parameter \\$nodeFactory\\.$#"
count: 1
path: Classes/Integration/FormEngine/HtmlOutputNode.php
-
message: "#^Constructor of class FluidTYPO3\\\\Flux\\\\Integration\\\\FormEngine\\\\ContentTypeValidatorNode has an unused parameter \\$nodeFactory\\.$#"
count: 1
path: Classes/Integration/FormEngine/ContentTypeValidatorNode.php
-
message: "#^Constructor of class FluidTYPO3\\\\Flux\\\\Integration\\\\FormEngine\\\\ColumnPositionNode has an unused parameter \\$nodeFactory\\.$#"
count: 1
path: Classes/Integration/FormEngine/ColumnPositionNode.php
-
message: "#^Static method TYPO3\\\\CMS\\\\Extbase\\\\Utility\\\\ExtensionUtility\\:\\:registerPlugin\\(\\) invoked with 5 parameters, 3-4 required\\.$#"
count: 1
path: Classes/Integration/ContentTypeBuilder.php
-
message: "#^Caught class TYPO3\\\\CMS\\\\Core\\\\Exception\\\\SiteNotFoundException not found\\.$#"
count: 1
path: Classes/Backend/PageLayoutDataProvider.php
-
message: "#^Undefined variable\\: \\$EM_CONF$#"
count: 1
path: Classes/Backend/PageLayoutDataProvider.php
-
message: "#^Instantiated class TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\Source not found\\.$#"
count: 1
path: Classes/Service/TemplateValidationService.php
-
message: "#^Parameter \\#1 \\$templateString of method TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\TemplateParser\\:\\:parse\\(\\) expects string, string\\|TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\Source given\\.$#"
count: 1
path: Classes/Service/TemplateValidationService.php
-
message: "#^Parameter \\$event of method FluidTYPO3\\\\Flux\\\\Integration\\\\Event\\\\AfterLocalizationControllerColumnsEventListener\\:\\:modifyColumnsManifest\\(\\) has invalid type TYPO3\\\\CMS\\\\Backend\\\\Controller\\\\Event\\\\AfterPageColumnsSelectedForLocalizationEvent\\.$#"
count: 1
path: Classes/Integration/Event/AfterLocalizationControllerColumnsEventListener.php
-
message: "#^Caught class TYPO3\\\\CMS\\\\Core\\\\Exception\\\\SiteNotFoundException not found\\.$#"
count: 1
path: Classes/Integration/FormEngine/ProviderProcessor.php
-
message: "#^Class TYPO3\\\\CMS\\\\Backend\\\\View\\\\BackendLayout\\\\Grid\\\\GridColumnItem not found\\.$#"
count: 1
path: Classes/Integration/HookSubscribers/ContentIcon.php
-
message: "#^Caught class TYPO3\\\\CMS\\\\Core\\\\Exception\\\\SiteNotFoundException not found\\.$#"
count: 1
path: Classes/Integration/HookSubscribers/WizardItems.php
-
message: "#^Call to an undefined method FluidTYPO3\\\\Flux\\\\Integration\\\\Overrides\\\\LocalizationController\\:\\:getPageColumns\\(\\)\\.$#"
count: 1
path: Classes/Integration/Overrides/LocalizationController.php
-
message: "#^Instantiated class TYPO3\\\\CMS\\\\Core\\\\Http\\\\JsonResponse not found\\.$#"
count: 2
path: Classes/Integration/Overrides/LocalizationController.php
-
message: "#^Class TYPO3\\\\CMS\\\\Backend\\\\View\\\\Drawing\\\\BackendLayoutRenderer not found\\.$#"
count: 2
path: Classes/Integration/PreviewView.php
-
message: "#^Class TYPO3\\\\CMS\\\\Core\\\\Site\\\\SiteFinder not found\\.$#"
count: 1
path: Classes/Integration/PreviewView.php
-
message: "#^Caught class TYPO3Fluid\\\\Fluid\\\\Component\\\\Error\\\\ChildNotFoundException not found\\.$#"
count: 1
path: Classes/Service/PageService.php
-
message: "#^Instantiated class TYPO3\\\\CMS\\\\Core\\\\Context\\\\Context not found\\.$#"
count: 1
path: Classes/Service/RecordService.php
-
message: "#^Call to an undefined static method TYPO3\\\\CMS\\\\Extbase\\\\Utility\\\\ExtensionUtility\\:\\:resolveVendorFromExtensionAndControllerClassName\\(\\)\\.$#"
count: 1
path: Classes/ViewHelpers/AbstractFormViewHelper.php
-
message: "#^Instantiated class TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\Source not found\\.$#"
count: 1
path: Classes/ViewHelpers/InlineViewHelper.php
-
message: "#^Call to an undefined method object\\:\\:setSetupArray\\(\\)\\.$#"
count: 1
path: Classes/Utility/RequestBuilder.php