Project

General

Profile

Actions

Bug #93237

closed

TYPO3 should not extend PSR-17 interfaces for Extbase usage

Added by Benjamin Franzke almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extbase
Target version:
Start date:
2021-01-06
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

..but extbase should rather use PSR-17 as is.

The interface TYPO3\CMS\Core\Http\ResponseFactory – introduced by https://review.typo3.org/c/Packages/TYPO3.CMS/+/66553 – contradicts the ideas of interchangable PSR interfaces and therefore we should strive for native PSR-17 usage, instead of wrapping the interfaces, instead.

Also, concrete PSR-7 implementation should be kept @internal, and only the instances of the interfaces (as aliased into the DI container), should be "public" api.

The Extbase ActionController is free to provide helper methods around the PSR ResponseFactory, but should use PSR-17 directly.

Actions #1

Updated by Gerrit Code Review almost 4 years ago

  • Status changed from New to Under Review

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67353

Actions #2

Updated by Benjamin Franzke almost 4 years ago

  • Tracker changed from Task to Bug
Actions #3

Updated by Gerrit Code Review almost 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/67353

Actions #4

Updated by Benjamin Franzke almost 4 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF