Skip to content

[FEATURE] Add AddServerRequestArgumentToGeneralUtilityMethodsRector - #4954

Merged
simonschaufi merged 1 commit into
sabbelasichon:mainfrom
chrissonntag:4903-add-request-argument-to-general-utility-methods
Nov 26, 2026
Merged

simonschaufi merged 1 commit into
sabbelasichon:mainfrom
chrissonntag:4903-add-request-argument-to-general-utility-methods

Conversation

@chrissonntag

Copy link
Copy Markdown
Contributor

Passes $GLOBALS['TYPO3_REQUEST'] as second argument to
GeneralUtility::isOnCurrentHost(), sanitizeLocalUrl() and
locationHeaderUrl(). One rule for the three deprecations, as they
are the same migration.

Closes: #4903
Closes: #4905
Closes: #4906

TYPO3 v14.3 deprecated calling isOnCurrentHost(), sanitizeLocalUrl()
and locationHeaderUrl() of GeneralUtility without the PSR-7 request.
The rule passes $GLOBALS['TYPO3_REQUEST'] as second argument.

Resolves: sabbelasichon#4903, sabbelasichon#4905, sabbelasichon#4906
@simonschaufi
simonschaufi force-pushed the 4903-add-request-argument-to-general-utility-methods branch from 7830de1 to 6e1734d Compare November 26, 2026 16:07
@simonschaufi
simonschaufi merged commit 76540a7 into sabbelasichon:main Nov 26, 2026
43 checks passed
@chrissonntag
chrissonntag deleted the 4903-add-request-argument-to-general-utility-methods branch November 26, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants