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 a PHP E_USER_DEPRECATED error.

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.