Skip to content
Snippets Groups Projects
Commit c568946b authored by Oliver Klee's avatar Oliver Klee Committed by Christian Kuhn
Browse files

[TASK] Modernize array function callbacks in GeneralUtility

Function callbacks are declared using the new PHP 8.1 feature
"first class callable", which e.g. uses the named `trim(...)`
function symbol, instead of the string `'trim'`.

see https://www.php.net/manual/en/functions.first_class_callable_syntax.php

Resolves: #100144
Releases: main
Change-Id: I708f86e022e397f3fcf32596043336b430e9c9ef
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78097


Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent e48ba964
Branches
Tags
No related merge requests found
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