Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Deprecate extbase ReferringRequest
When extbase has been changed to PSR-7 responses, class ReferringRequest has been nearly obsoleted: It is only used to be immediately turned into a ForwardResponse. To further prepare towards PSR-7 requests, usage of ReferringRequest which extends extbase Request is dropped and the class marked as deprecated. Change-Id: If16c09b0601792f6702fbacee064cd4d514c70c6 Resolves: #94367 Related: #92502 Releases: master Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/69513 Tested-by: core-ci <typo3@b13.com> Tested-by: Benni Mack <benni@typo3.org> Tested-by: Jochen <rothjochen@gmail.com> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Benni Mack <benni@typo3.org> Reviewed-by: Jochen <rothjochen@gmail.com> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
- Loading branch information
Showing
5 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
...re/Documentation/Changelog/master/Deprecation-94367-ExtbaseReferringRequest.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
.. include:: ../../Includes.txt | ||
|
||
============================================== | ||
Deprecation: #94367 - extbase ReferringRequest | ||
============================================== | ||
|
||
See :issue:`94367` | ||
|
||
Description | ||
=========== | ||
|
||
To further prepare extbase towards PSR-7 compatible requests, extbase class | ||
:php:`TYPO3\CMS\Extbase\Mvc\Web\ReferringRequest` has been deprecated. | ||
|
||
|
||
Impact | ||
====== | ||
|
||
Creating an instance of :php:`ReferringRequest` will trigger a PHP deprecation warning. | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
:php:`ReferringRequest` has been mostly extbase internal and rarely used in | ||
extbase extensions, probably only in cases where | ||
:php:`ActionController->forwardToReferringRequest()` is overridden. | ||
The extension scanner will find usages with a strong match. | ||
|
||
Migration | ||
========= | ||
|
||
Extbase internally, :php:`ReferringRequest` has only been used to | ||
immediately create a :php:`ForwardResponse` from it. Consuming extensions | ||
should follow his approach and create a :php:`ForwardResponse` directly. | ||
|
||
.. index:: PHP-API, FullyScanned, ext:extbase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters