Skip to content
Snippets Groups Projects
Commit 37def0d8 authored by Oliver Klee's avatar Oliver Klee Committed by Benni Mack
Browse files

[TASK] Modernize array function callbacks in Extbase

- use arrow functions
- make anonymous functions static if possible
- add type declarations
- use first class callables

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

Resolves: #100146
Releases: main
Change-Id: Ic4f3f93b7592dc9ce3fdb2a3bd8bf2fea491ebbe
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78099


Reviewed-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarAlexander Schnitzler <git@alexanderschnitzler.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 94bcbf0f
Branches
Tags
No related merge requests found
Showing
with 71 additions and 68 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