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

[TASK] Reduce usages of GU::_GP()

The method will be phased out due to being an antipattern to
grab information directly from global variables.

This patch replaces all usages of GU::_GP(), where a PSR-7
Server Request Object is available.

Resolves: #99635
Releases: main
Change-Id: I7a441b7cb4999763d852dd78f09b5d28039497ec
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77493


Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
parent ff09748b
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