forked from FluidTYPO3/flux
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpstan-baseline.neon
204 lines (166 loc) · 9.39 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
parameters:
ignoreErrors:
-
message: "#Elseif branch is unreachable because previous condition is always true\\.$#"
count: 1
path: Classes/ViewHelpers/AbstractFormViewHelper.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/Content/ContentTypeFluxTemplateDumper.php
-
message: "#^Instantiated class TYPO3Fluid\\\\Fluid\\\\Core\\\\Parser\\\\Source not found\\.$#"
count: 1
path: Classes/Content/ContentTypeValidator.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