8000 [HttpFoundation] Deprecate Request::get() in favor of using properties ->attributes, query or request directly by nicolas-grekas · Pull Request #61948 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@nicolas-grekas
Copy link
Member
Q A
Branch? 7.4
Bug fix? no
New feature? no
Deprecations? yes
Issues -
License MIT

This method is internal but used cross components (and outside of the Symfony namespace AFAIK).

But this method is dangerous, it blurs the origin of the input data.

@nicolas-grekas nicolas-grekas merged commit 28fba80 into symfony:7.4 Oct 3, 2025
5 of 12 checks passed
@nicolas-grekas nicolas-grekas deleted the hf-req-get branch October 3, 2025 14:43
nicolas-grekas added a commit that referenced this pull request Oct 7, 2025
This PR was merged into the 8.0 branch.

Discussion
----------

[HttpFoundation] Remove `Request::get()`

| Q             | A
| ------------- | ---
| Branch?       | 8.0
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| License       | MIT

Following #61948

Commits
-------

6f9a6a1 remove Request::get()
This was referenced Oct 27, 2025
javiereguiluz added a commit to symfony/demo that referenced this pull request Nov 4, 2025
…e (GromNaN)

This PR was squashed before being merged into the main branch.

Discussion
----------

Remove usage of deprecated `Request::get()` in twig template

- symfony/symfony#61948

Commits
-------

4101cc4 Remove usage of deprecated `Request::get()` in twig template
70E6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0