[TASK] Deprecate GeneralUtility methods
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-75621-GeneralUtilityMethods.rst
1 ============================================
2 Deprecation: #75621 - GeneralUtility methods
3 ============================================
4
5 Description
6 ===========
7
8 The following methods within GeneralUtility have been marked as deprecated:
9
10 * compat_version()
11 * convertMicrotime()
12 * deHSCentities()
13 * slashJS()
14 * rawUrlEncodeJS()
15 * rawUrlEncodeFP()
16 * lcfirst()
17 * getMaximumPathLength()
18
19 The second parameter of :php:`GeneralUtility::wrapJS()` has been removed.
20
21
22 Impact
23 ======
24
25 Calling any of the methods above will trigger a deprecation log entry.
26
27 Calling :php:`GeneralUtility::wrapJS()` with the second parameter will trigger a PHP notice message.
28
29
30 Affected Installations
31 ======================
32
33 Any installation with a third-party extension calling one of the methods in its PHP code.
34
35
36 Migration
37 =========
38
39 For the following methods, use the used PHP methods and constants directly that are used within these methods:
40
41 * compat_version()
42 * convertMicrotime()
43 * deHSCentities()
44 * slashJS()
45 * rawUrlEncodeJS()
46 * rawUrlEncodeFP()
47 * lcfirst()
48 * getMaximumPathLength()