Deprecation: #94367 - extbase ReferringRequest

See Issue #94367

Description

To further prepare extbase towards PSR-7 compatible requests, extbase class TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest has been deprecated.

Impact

Creating an instance of ReferringRequest will trigger a PHP deprecation warning.

Affected Installations

ReferringRequest has been mostly extbase internal and rarely used in extbase extensions, probably only in cases where ActionController->forwardToReferringRequest() is overridden. The extension scanner will find usages with a strong match.

Migration

Extbase internally, ReferringRequest has only been used to immediately create a ForwardResponse from it. Consuming extensions should follow his approach and create a ForwardResponse directly.