[!!!][TASK] Use native trigger_error and ErrorHandler for deprecations
[Packages/TYPO3.CMS.git] / typo3 / sysext / install / Configuration / ExtensionScanner / Php / MethodCallStaticMatcher.php
1 <?php
2 return [
3 // Removed methods
4 'TYPO3\CMS\Backend\Utility\BackendUtility::getAjaxUrl' => [
5 'numberOfMandatoryArguments' => 1,
6 'maximumNumberOfArguments' => 2,
7 'restFiles' => [
8 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
9 'Deprecation-75340-MethodsRelatedToGeneratingTraditionalBackendAJAXURLs.rst',
10 ],
11 ],
12 'TYPO3\CMS\Backend\Utility\BackendUtility::getFlexFormDS' => [
13 'numberOfMandatoryArguments' => 3,
14 'maximumNumberOfArguments' => 6,
15 'restFiles' => [
16 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
17 'Deprecation-78581-FlexFormRelatedParsing.rst',
18 ],
19 ],
20 'TYPO3\CMS\Backend\Utility\BackendUtility::getListViewLink' => [
21 'numberOfMandatoryArguments' => 0,
22 'maximumNumberOfArguments' => 3,
23 'restFiles' => [
24 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
25 'Deprecation-73190-DeprecateBackendUtilitygetListViewLink.rst',
26 ],
27 ],
28 'TYPO3\CMS\Backend\Utility\BackendUtility::getRecordRaw' => [
29 'numberOfMandatoryArguments' => 1,
30 'maximumNumberOfArguments' => 3,
31 'restFiles' => [
32 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
33 'Deprecation-80317-DeprecateBackendUtilityGetRecordRaw.rst',
34 ],
35 ],
36 'TYPO3\CMS\Backend\Utility\BackendUtility::getRecordsByField' => [
37 'numberOfMandatoryArguments' => 3,
38 'maximumNumberOfArguments' => 9,
39 'restFiles' => [
40 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
41 'Deprecation-79122-DeprecateBackendUtilitygetRecordsByField.rst',
42 ],
43 ],
44 'TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParametersFromArray' => [
45 'numberOfMandatoryArguments' => 1,
46 'maximumNumberOfArguments' => 1,
47 'restFiles' => [
48 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
49 'Deprecation-79341-MethodsRelatedToRichtextConfiguration.rst',
50 ],
51 ],
52 'TYPO3\CMS\Backend\Utility\BackendUtility::getSpecConfParts' => [
53 'numberOfMandatoryArguments' => 1,
54 'maximumNumberOfArguments' => 1,
55 'restFiles' => [
56 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
57 'Deprecation-78899-FormEngineMethods.rst',
58 ],
59 ],
60 'TYPO3\CMS\Backend\Utility\BackendUtility::getSQLselectableList' => [
61 'numberOfMandatoryArguments' => 3,
62 'maximumNumberOfArguments' => 3,
63 'restFiles' => [
64 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
65 'Deprecation-72851-DeprecateSomeFunctionsNotInUseAnymoreInTheCore.rst',
66 ],
67 ],
68 'TYPO3\CMS\Backend\Utility\BackendUtility::titleAltAttrib' => [
69 'numberOfMandatoryArguments' => 1,
70 'maximumNumberOfArguments' => 1,
71 'restFiles' => [
72 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
73 'Deprecation-72851-DeprecateSomeFunctionsNotInUseAnymoreInTheCore.rst',
74 ],
75 ],
76 'TYPO3\CMS\Backend\Utility\BackendUtility::makeConfigForm' => [
77 'numberOfMandatoryArguments' => 3,
78 'maximumNumberOfArguments' => 3,
79 'restFiles' => [
80 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
81 'Deprecation-72851-DeprecateSomeFunctionsNotInUseAnymoreInTheCore.rst',
82 ],
83 ],
84 'TYPO3\CMS\Backend\Utility\BackendUtility::processParams' => [
85 'numberOfMandatoryArguments' => 1,
86 'maximumNumberOfArguments' => 1,
87 'restFiles' => [
88 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
89 'Deprecation-72851-DeprecateSomeFunctionsNotInUseAnymoreInTheCore.rst',
90 ],
91 ],
92 'TYPO3\CMS\Backend\Utility\BackendUtility::replaceL10nModeFields' => [
93 'numberOfMandatoryArguments' => 2,
94 'maximumNumberOfArguments' => 2,
95 'restFiles' => [
96 'Breaking-80700-DeprecatedFunctionalityRemoved.rst'
97 ],
98 ],
99 'TYPO3\CMS\Backend\Utility\BackendUtility::RTEsetup' => [
100 'numberOfMandatoryArguments' => 3,
101 'maximumNumberOfArguments' => 4,
102 'restFiles' => [
103 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
104 'Deprecation-79341-MethodsRelatedToRichtextConfiguration.rst'
105 ],
106 ],
107 'TYPO3\CMS\Core\DataHandling\DataHandler::rmComma' => [
108 'numberOfMandatoryArguments' => 1,
109 'maximumNumberOfArguments' => 1,
110 'restFiles' => [
111 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
112 'Deprecation-79580-MethodsInDataHandlerRelatedToPageDeleteAccess.rst',
113 ],
114 ],
115 'TYPO3\CMS\Core\DataHandling\DataHandler::destPathFromUploadFolder' => [
116 'numberOfMandatoryArguments' => 1,
117 'maximumNumberOfArguments' => 1,
118 'restFiles' => [
119 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
120 'Deprecation-80513-DataHandlerVariousMethodsAndMethodArguments.rst',
121 ],
122 ],
123 'TYPO3\CMS\Core\DataHandling\DataHandler::noRecordsFromUnallowedTables' => [
124 'numberOfMandatoryArguments' => 1,
125 'maximumNumberOfArguments' => 1,
126 'restFiles' => [
127 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
128 'Deprecation-79580-MethodsInDataHandlerRelatedToPageDeleteAccess.rst',
129 ],
130 ],
131 'TYPO3\CMS\Core\Utility\ArrayUtility::inArray' => [
132 'numberOfMandatoryArguments' => 2,
133 'maximumNumberOfArguments' => 2,
134 'restFiles' => [
135 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
136 'Deprecation-79316-DeprecateArrayUtilityinArray.rst',
137 ],
138 ],
139 'TYPO3\CMS\Core\Utility\ClientUtility::getDeviceType' => [
140 'numberOfMandatoryArguments' => 1,
141 'maximumNumberOfArguments' => 1,
142 'restFiles' => [
143 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
144 'Deprecation-79560-DeprecateClientUtilitygetDeviceType.rst',
145 ],
146 ],
147 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addExtJSModule' => [
148 'numberOfMandatoryArguments' => 2,
149 'maximumNumberOfArguments' => 5,
150 'restFiles' => [
151 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
152 'Deprecation-80491-BackendControllerInclusionHooks.rst',
153 ],
154 ],
155 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility::appendToTypoConfVars' => [
156 'numberOfMandatoryArguments' => 3,
157 'maximumNumberOfArguments' => 3,
158 'restFiles' => [
159 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
160 'Deprecation-80583-TYPO3_CONF_VARS_extensionAdded.rst',
161 ],
162 ],
163 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath' => [
164 'numberOfMandatoryArguments' => 1,
165 'maximumNumberOfArguments' => 1,
166 'restFiles' => [
167 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
168 'Deprecation-78193-ExtensionManagementUtilityextRelPath.rst',
169 ],
170 ],
171 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler' => [
172 'numberOfMandatoryArguments' => 2,
173 'maximumNumberOfArguments' => 3,
174 'restFiles' => [
175 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
176 'Deprecation-73352-DeprecateOld-schoolAJAXRequests.rst',
177 ],
178 ],
179 'TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerExtDirectComponent' => [
180 'numberOfMandatoryArguments' => 2,
181 'maximumNumberOfArguments' => 4,
182 'restFiles' => [
183 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
184 'Deprecation-80048-MarkExtJSRelatedAPICallsAsDeprecated.rst',
185 ],
186 ],
187 'TYPO3\CMS\Core\Utility\File\ExtendedFileUtility::pushErrorMessagesToFlashMessageQueue' => [
188 'numberOfMandatoryArguments' => 0,
189 'maximumNumberOfArguments' => 0,
190 'restFiles' => [
191 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
192 'Deprecation-71255-ExtendedFileUtilitypushErrorMessagesToFlashMessageQueue.rst',
193 ],
194 ],
195 'TYPO3\CMS\Core\Utility\GeneralUtility::array2xml_cs' => [
196 'numberOfMandatoryArguments' => 1,
197 'maximumNumberOfArguments' => 4,
198 'restFiles' => [
199 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
200 'Deprecation-75371-Array2xml_cs.rst',
201 ],
202 ],
203 'TYPO3\CMS\Core\Utility\GeneralUtility::compat_version' => [
204 'numberOfMandatoryArguments' => 1,
205 'maximumNumberOfArguments' => 1,
206 'restFiles' => [
207 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
208 'Deprecation-75621-GeneralUtilityMethods.rst'
209 ],
210 ],
211 'TYPO3\CMS\Core\Utility\GeneralUtility::convertMicrotime' => [
212 'numberOfMandatoryArguments' => 1,
213 'maximumNumberOfArguments' => 1,
214 'restFiles' => [
215 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
216 'Deprecation-75621-GeneralUtilityMethods.rst',
217 ],
218 ],
219 'TYPO3\CMS\Core\Utility\GeneralUtility::csvValues' => [
220 'numberOfMandatoryArguments' => 1,
221 'maximumNumberOfArguments' => 3,
222 'restFiles' => [
223 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
224 'Deprecation-80451-DeprecateGeneralUtilitycsvValues.rst',
225 ],
226 ],
227 'TYPO3\CMS\Core\Utility\GeneralUtility::deHSCentities' => [
228 'numberOfMandatoryArguments' => 1,
229 'maximumNumberOfArguments' => 1,
230 'restFiles' => [
231 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
232 'Deprecation-75621-GeneralUtilityMethods.rst',
233 ],
234 ],
235 'TYPO3\CMS\Core\Utility\GeneralUtility::flushOutputBuffers' => [
236 'numberOfMandatoryArguments' => 0,
237 'maximumNumberOfArguments' => 0,
238 'restFiles' => [
239 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
240 'Deprecation-73516-VariousGeneralUtilityMethods.rst',
241 ],
242 ],
243 'TYPO3\CMS\Core\Utility\GeneralUtility::freetypeDpiComp' => [
244 'numberOfMandatoryArguments' => 1,
245 'maximumNumberOfArguments' => 1,
246 'restFiles' => [
247 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
248 'Deprecation-80449-GeneralUtilityfreetypeDpiComp.rst'
249 ],
250 ],
251 'TYPO3\CMS\Core\Utility\GeneralUtility::generateRandomBytes' => [
252 'numberOfMandatoryArguments' => 1,
253 'maximumNumberOfArguments' => 1,
254 'restFiles' => [
255 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
256 'Deprecation-73050-DeprecatedRandomGeneratorMethodsInGeneralUtility.rst',
257 ],
258 ],
259 'TYPO3\CMS\Core\Utility\GeneralUtility::getMaximumPathLength' => [
260 'numberOfMandatoryArguments' => 0,
261 'maximumNumberOfArguments' => 0,
262 'restFiles' => [
263 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
264 'Deprecation-75621-GeneralUtilityMethods.rst',
265 ],
266 ],
267 'TYPO3\CMS\Core\Utility\GeneralUtility::getRandomHexString' => [
268 'numberOfMandatoryArguments' => 1,
269 'maximumNumberOfArguments' => 1,
270 'restFiles' => [
271 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
272 'Deprecation-73050-DeprecatedRandomGeneratorMethodsInGeneralUtility.rst',
273 ],
274 ],
275 'TYPO3\CMS\Core\Utility\GeneralUtility::imageMagickCommand' => [
276 'numberOfMandatoryArguments' => 2,
277 'maximumNumberOfArguments' => 3,
278 'restFiles' => [
279 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
280 'Deprecation-73516-VariousGeneralUtilityMethods.rst',
281 ],
282 ],
283 'TYPO3\CMS\Core\Utility\GeneralUtility::lcfirst' => [
284 'numberOfMandatoryArguments' => 1,
285 'maximumNumberOfArguments' => 1,
286 'restFiles' => [
287 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
288 'Deprecation-75621-GeneralUtilityMethods.rst',
289 ],
290 ],
291 'TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeFP' => [
292 'numberOfMandatoryArguments' => 1,
293 'maximumNumberOfArguments' => 1,
294 'restFiles' => [
295 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
296 'Deprecation-75621-GeneralUtilityMethods.rst',
297 ],
298 ],
299 'TYPO3\CMS\Core\Utility\GeneralUtility::rawUrlEncodeJS' => [
300 'numberOfMandatoryArguments' => 1,
301 'maximumNumberOfArguments' => 1,
302 'restFiles' => [
303 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
304 'Deprecation-75621-GeneralUtilityMethods.rst',
305 ],
306 ],
307 'TYPO3\CMS\Core\Utility\GeneralUtility::removeXSS' => [
308 'numberOfMandatoryArguments' => 1,
309 'maximumNumberOfArguments' => 1,
310 'restFiles' => [
311 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
312 'Deprecation-76164-DeprecateRemoveXSS.rst',
313 ],
314 ],
315 'TYPO3\CMS\Core\Utility\GeneralUtility::requireFile' => [
316 'numberOfMandatoryArguments' => 1,
317 'maximumNumberOfArguments' => 1,
318 'restFiles' => [
319 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
320 'Deprecation-73067-DeprecateGeneralUtilityrequireOnceAndGeneralUtilityrequireFile.rst',
321 ],
322 ],
323 'TYPO3\CMS\Core\Utility\GeneralUtility::requireOnce' => [
324 'numberOfMandatoryArguments' => 1,
325 'maximumNumberOfArguments' => 1,
326 'restFiles' => [
327 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
328 'Deprecation-73067-DeprecateGeneralUtilityrequireOnceAndGeneralUtilityrequireFile.rst',
329 ],
330 ],
331 'TYPO3\CMS\Core\Utility\GeneralUtility::resolveAllSheetsInDS' => [
332 'numberOfMandatoryArguments' => 1,
333 'maximumNumberOfArguments' => 1,
334 'restFiles' => [
335 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
336 'Deprecation-78581-FlexFormRelatedParsing.rst',
337 ],
338 ],
339 'TYPO3\CMS\Core\Utility\GeneralUtility::resolveSheetDefInDS' => [
340 'numberOfMandatoryArguments' => 1,
341 'maximumNumberOfArguments' => 1,
342 'restFiles' => [
343 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
344 'Deprecation-78581-FlexFormRelatedParsing.rst',
345 ],
346 ],
347 'TYPO3\CMS\Core\Utility\GeneralUtility::slashJS' => [
348 'numberOfMandatoryArguments' => 1,
349 'maximumNumberOfArguments' => 3,
350 'restFiles' => [
351 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
352 'Deprecation-75621-GeneralUtilityMethods.rst',
353 ],
354 ],
355 'TYPO3\CMS\Core\Utility\GeneralUtility::strtolower' => [
356 'numberOfMandatoryArguments' => 1,
357 'maximumNumberOfArguments' => 1,
358 'restFiles' => [
359 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
360 'Deprecation-76804-DeprecateGeneralUtilitystrtoupperStrtolower.rst',
361 ],
362 ],
363 'TYPO3\CMS\Core\Utility\GeneralUtility::strtoupper' => [
364 'numberOfMandatoryArguments' => 1,
365 'maximumNumberOfArguments' => 1,
366 'restFiles' => [
367 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
368 'Deprecation-76804-DeprecateGeneralUtilitystrtoupperStrtolower.rst',
369 ],
370 ],
371 'TYPO3\CMS\Core\Utility\GeneralUtility::xmlGetHeaderAttribs' => [
372 'numberOfMandatoryArguments' => 1,
373 'maximumNumberOfArguments' => 1,
374 'restFiles' => [
375 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
376 'Deprecation-73516-VariousGeneralUtilityMethods.rst',
377 ],
378 ],
379 'TYPO3\CMS\Frontend\Page\PageGenerator::pagegenInit' => [
380 'numberOfMandatoryArguments' => 0,
381 'maximumNumberOfArguments' => 0,
382 'restFiles' => [
383 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
384 'Deprecation-79858-TSFE-relatedPropertiesAndMethods.rst',
385 ],
386 ],
387 'TYPO3\CMS\Frontend\Page\PageRepository::getHash' => [
388 'numberOfMandatoryArguments' => 1,
389 'maximumNumberOfArguments' => 1,
390 'restFiles' => [
391 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
392 'Deprecation-80524-PageRepositorygetHashAndPageRepositorystoreHash.rst',
393 ],
394 ],
395 'TYPO3\CMS\Frontend\Page\PageRepository::storeHash' => [
396 'numberOfMandatoryArguments' => 3,
397 'maximumNumberOfArguments' => 4,
398 'restFiles' => [
399 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
400 'Deprecation-80524-PageRepositorygetHashAndPageRepositorystoreHash.rst',
401 ],
402 ],
403 'TYPO3\CMS\Core\Utility\GeneralUtility::getUserObj' => [
404 'numberOfMandatoryArguments' => 1,
405 'maximumNumberOfArguments' => 3,
406 'restFiles' => [
407 'Deprecation-80993-GeneralUtilitygetUserObj.rst',
408 ],
409 ],
410 'TYPO3\CMS\Frontend\Utility::initTCA' => [
411 'numberOfMandatoryArguments' => 0,
412 'maximumNumberOfArguments' => 0,
413 'restFiles' => [
414 'Deprecation-81201-EidUtilityinitTCA.rst',
415 ],
416 ],
417 'TYPO3\CMS\Backend\Utility\BackendUtility::getListGroupNames' => [
418 'numberOfMandatoryArguments' => 0,
419 'maximumNumberOfArguments' => 1,
420 'restFiles' => [
421 'Deprecation-81534-BackendUtilitygetListGroupNamesDeprecated.rst',
422 ],
423 ],
424 'TYPO3\CMS\Core\Utility\GeneralUtility::makeRedirectUrl' => [
425 'numberOfMandatoryArguments' => 1,
426 'maximumNumberOfArguments' => 3,
427 'restFiles' => [
428 'Breaking-82572-RDCTFunctionalityRemoved.rst',
429 ],
430 ],
431 'TYPO3\CMS\Backend\Utility\BackendUtility::getInlineLocalizationMode' => [
432 'numberOfMandatoryArguments' => 2,
433 'maximumNumberOfArguments' => 2,
434 'restFiles' => [
435 'Breaking-80700-DeprecatedFunctionalityRemoved.rst',
436 ],
437 ],
438 'TYPO3\CMS\Core\Utility\GeneralUtility::deprecationLog' => [
439 'numberOfMandatoryArguments' => 1,
440 'maximumNumberOfArguments' => 1,
441 'restFiles' => [
442 'Deprecation-82438-DeprecationMethods.rst',
443 ],
444 ],
445 'TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedViewHelperAttribute' => [
446 'numberOfMandatoryArguments' => 2,
447 'maximumNumberOfArguments' => 3,
448 'restFiles' => [
449 'Deprecation-82438-DeprecationMethods.rst',
450 ],
451 ],
452 'TYPO3\CMS\Core\Utility\GeneralUtility::getDeprecationLogFileName' => [
453 'numberOfMandatoryArguments' => 0,
454 'maximumNumberOfArguments' => 0,
455 'restFiles' => [
456 'Deprecation-82438-DeprecationMethods.rst',
457 ],
458 ],
459 'TYPO3\CMS\Core\Utility\GeneralUtility::logDeprecatedFunction' => [
460 'numberOfMandatoryArguments' => 0,
461 'maximumNumberOfArguments' => 0,
462 'restFiles' => [
463 'Deprecation-82438-DeprecationMethods.rst',
464 ],
465 ],
466 ];