Remove Symfony 4 RequestStack BC shim in 11.0.x

Created on 17 February 2022, almost 3 years ago
Updated 16 March 2024, 9 months ago

Problem/Motivation

In #3209617: [Symfony 6] Symfony\Component\HttpFoundation\RequestStack::getMasterRequest() is deprecated, use getMainRequest() instead we added a BC shim that supports RequestStack that could have either getMainRequest() or getMasterRequest() methods.

Now we have moved to Symfony 6 we can drop the code that handles the getMasterRequest() method and use the Symfony class directly again.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Postponed until 11.0.x-dev is open.

📌 Task
Status

Fixed

Version

11.0 🔥

Component
Base 

Last updated about 18 hours ago

Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024