TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,74 @@
.. include:: /Includes.rst.txt
.. _breaking-72342:
==============================================================
Breaking: #72342 - Removed deprecated code from GeneralUtility
==============================================================
See :issue:`72342`
Description
===========
The following methods have been removed from `GeneralUtility`
`gif_compress()`
`png_to_gif_by_imagemagick()`
`read_png_gif()`
`modifyHTMLColor()`
`modifyHTMLColorAll()`
`isBrokenEmailEnvironment()`
`normalizeMailAddress()`
`formatForTextarea()`
`inArray()`
`removeArrayEntryByValue()`
`keepItemsInArray()`
`addSlashesOnArray()`
`stripSlashesOnArray()`
`slashArray()`
`remapArrayKeys()`
`array_merge()`
`arrayDiffAssocRecursive()`
`naturalKeySortRecursive()`
`getThisUrl()`
`readLLfile()`
`quoted_printable()`
`encodeHeader()`
`substUrlsInPlainText()`
`cleanOutputBuffers()`
Impact
======
Using the methods above directly in any third party extension will result in a fatal error.
Affected Installations
======================
Instances which use calls to the methods above.
Migration
=========
For `gif_compress()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::gifCompress()` instead.
For `png_to_gif_by_imagemagick()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::pngToGifByImagemagick()` instead.
For `read_png_gif()` use `\TYPO3\CMS\Core\Imaging\GraphicalFunctions::readPngGif()` instead.
For `inArray()` use `ArrayUtility::inArray()` instead.
For `removeArrayEntryByValue()` use `ArrayUtility::removeArrayEntryByValue()` instead.
For `keepItemsInArray()` use `ArrayUtility::keepItemsInArray()` instead.
For `remapArrayKeys()` use `ArrayUtility::remapArrayKeys()` instead.
For `array_merge()` use native php '+' operator instead.
For `arrayDiffAssocRecursive()` use `ArrayUtility::arrayDiffAssocRecursive()` instead.
For `naturalKeySortRecursive()` use `ArrayUtility::naturalKeySortRecursive()` instead.
For `getThisUrl()` use `GeneralUtility::getIndpEnv*` instead.
For `quoted_printable()` use mailer API instead.
For `encodeHeader()` use mailer API instead.
For `substUrlsInPlainText()` use mailer API instead.
For `cleanOutputBuffers()` use ob_* functions directly or `self::flushOutputBuffers.`
.. index:: PHP-API