Skip to content
Snippets Groups Projects
Commit 8e48aff7 authored by Christian Kuhn's avatar Christian Kuhn Committed by Anja Leichsenring
Browse files

[BUGFIX] Avoid coalescence to null for string expecting functions

Various functions expect string arguments and emit
E_DEPRECATED with PHP 8.1 in non strict_types=1
calls. The patch adjusts some null coalescence
fallbacks from null to string to satisfy this.

Resolves: #95787
Releases: master
Change-Id: Ie1b28bc285c33af3509d18eaeb7d0b6013284434
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71983


Tested-by: default avatarJochen <rothjochen@gmail.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarJochen <rothjochen@gmail.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 4a87bd2e
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