Skip to content

Commit 2d42a8a

Browse files
committed
feature #42392 [HttpFoundation] Mark Request::get() internal (ro0NL)
This PR was merged into the 5.4 branch. Discussion ---------- [HttpFoundation] Mark Request::get() internal | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | no | New feature? | no | Deprecations? | yes | Tickets | Fix #40984 | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> we should not forget about this :) Commits ------- e84efc4 [HttpFoundation] Mark Request::get() internal
2 parents 83bdd2e + e84efc4 commit 2d42a8a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

UPGRADE-5.4.md

+5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ HttpKernel
2323

2424
* Deprecate `AbstractTestSessionListener::getSession` inject a session in the request instead
2525

26+
HttpFoundation
27+
--------------
28+
29+
* Mark `Request::get()` internal, use explicit input sources instead
30+
2631
Messenger
2732
---------
2833

src/Symfony/Component/HttpFoundation/Request.php

+2
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,8 @@ public static function getHttpMethodParameterOverride()
703703
* @param mixed $default The default value if the parameter key does not exist
704704
*
705705
* @return mixed
706+
*
707+
* @internal since Symfony 5.4, use explicit input sources instead
706708
*/
707709
public function get(string $key, $default = null)
708710
{

0 commit comments

Comments
 (0)