Skip to content
Snippets Groups Projects
Commit d70a4798 authored by Christian Kuhn's avatar Christian Kuhn
Browse files

[!!!][TASK] Cleanup and harden Extbase Request

The Extbase Request has been turned into a
PSR-7 decorator in v11. Most interface changes
have not been enforced in v11 though, since that
would have been breaking at this point in the
release cycle.

With v12, we can now activate the RequestInterface
changes. The patch does this, and migrates the "setX()"
that violate PSR-7 request immutability towards
their 'withX()' counterparts which create new
objects.

The patch adds quite a bit of syntactic sugar to
consuming classes: core phpstan is significantly more
happy and extbase extension devs benefit from
improved type hints and interface coverage.

Change-Id: I111be724fd4e5d6dc9b1305efa31b7c90952730e
Resolves: #98370
Related: #94428
Releases: main
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75749


Tested-by: default avatarLina Wolf <112@linawolf.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarStefan Bürk <stefan@buerk.tech>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarLina Wolf <112@linawolf.de>
Reviewed-by: default avatarStefan Bürk <stefan@buerk.tech>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 79459bb7
Branches
Tags
No related merge requests found
Showing
with 268 additions and 601 deletions
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