Skip to content
Snippets Groups Projects
Commit ad01e430 authored by Benni Mack's avatar Benni Mack Committed by Anja Leichsenring
Browse files

[TASK] Deprecate various GeneralUtility methods

Some methods in GeneralUtility nowadays are wrappers to
native PHP methods. We encourage people to use the PHP API
directly.

* GeneralUtility::IPv6Hex2Bin()
* GeneralUtility::IPv6Bin2Hex()
* GeneralUtility::compressIPv6()
* GeneralUtility::milliseconds()

In addition, these methods are unused by Core
* GeneralUtility::linkThisUrl()
* GeneralUtility::flushDirectory()

Reasoning: In order to make our code less coupled, TYPO3 Core should
use native PHP where it makes sense, instead of relying on GeneralUtility
in all places.

Resolves: #91001
Releases: master
Change-Id: I9e3a2f4a4bb42facad2d79f959b36482dba23ec8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/64091


Tested-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent acff9da4
Branches
Tags
No related merge requests found
Showing with 234 additions and 88 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment