Original conversation: symfony/symfony-docs#5413 (comment)
- We agreed to trigger deprecation warnings immediately when something is deprecated, rather than waiting until a later version to "catch-up"
- nicolas-greaks will open a small docs PR to mention how interface deprecation triggers work, since they - at the very least - befuddled weaverryan
Summary: Should we implement PSR-7 in HttpFoundation? What are the problems we want to solve
-
PSR-7 will be used primarily for middlewares. So, if the PSR-7 bridge works perfectly, is there a need to make HttpFoundation implement PSR-7?
-
A vote concluded to not convert HttpFoundation to PSR-7. But instead to make HttpFoundation look as much like PSR-7 as possible (in part, by moving mutable pieces out of HttpFoundation).
-
We also need to make any changes to make the PSR-7 bridge work perfectly. I believe there are still problems with large streams.
-
Individual components - e.g. Debug - will be made to support HttpFoundation and PSR-7. nicolas-grekas will start with Debug and also open an issue that tracks which components have support.
-
Per the vote, HttpKernel will be the only component that is not given PSR-7 support.