[BUGFIX] Fallback to empty array if ExportController receives no input
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / 8.0 / Breaking-72342-RemovedDeprecatedCodeFromGeneralUtility.rst
1
2 .. include:: ../../Includes.txt
3
4 ==============================================================
5 Breaking: #72342 - Removed deprecated code from GeneralUtility
6 ==============================================================
7
8 See :issue:`72342`
9
10 Description
11 ===========
12
13 The following methods have been removed from `GeneralUtility`
14
15 `gif_compress()`
16 `png_to_gif_by_imagemagick()`
17 `read_png_gif()`
18 `modifyHTMLColor()`
19 `modifyHTMLColorAll()`
20 `isBrokenEmailEnvironment()`
21 `normalizeMailAddress()`
22 `formatForTextarea()`
23 `inArray()`
24 `removeArrayEntryByValue()`
25 `keepItemsInArray()`
26 `addSlashesOnArray()`
27 `stripSlashesOnArray()`
28 `slashArray()`
29 `remapArrayKeys()`
30 `array_merge()`
31 `arrayDiffAssocRecursive()`
32 `naturalKeySortRecursive()`
33 `getThisUrl()`
34 `readLLfile()`
35 `quoted_printable()`
36 `encodeHeader()`
37 `substUrlsInPlainText()`
38 `cleanOutputBuffers()`
39
40
41 Impact
42 ======
43
44 Using the methods above directly in any third party extension will result in a fatal error.
45
46
47 Affected Installations
48 ======================
49
50 Instances which use calls to the methods above.
51
52
53 Migration
54 =========
55
56 For `gif_compress()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::gifCompress()` instead.
57 For `png_to_gif_by_imagemagick()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::pngToGifByImagemagick()` instead.
58 For `read_png_gif()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::readPngGif()` instead.
59 For `inArray()` use `ArrayUtility::inArray()` instead.
60 For `removeArrayEntryByValue()` use `ArrayUtility::removeArrayEntryByValue()` instead.
61 For `keepItemsInArray()` use `ArrayUtility::keepItemsInArray()` instead.
62 For `remapArrayKeys()`  use `ArrayUtility::remapArrayKeys()` instead.
63 For `array_merge()` use native php '+' operator instead.
64 For `arrayDiffAssocRecursive()` use `ArrayUtility::arrayDiffAssocRecursive()` instead.
65 For `naturalKeySortRecursive()` use `ArrayUtility::naturalKeySortRecursive()` instead.
66 For `getThisUrl()` use `GeneralUtility::getIndpEnv*` instead.
67 For `quoted_printable()` use mailer API instead.
68 For `encodeHeader()` use mailer API instead.
69 For `substUrlsInPlainText()` use mailer API instead.
70 For `cleanOutputBuffers()` use ob_* functions directly or `self::flushOutputBuffers.`
71
72 .. index:: PHP-API