8000 minor #18513 Deprecate not setting a value for http_method_override o… · symfony/symfony-docs@9287605 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9287605

Browse files
committed
minor #18513 Deprecate not setting a value for http_method_override option (javiereguiluz)
This PR was merged into the 6.2 branch. Discussion ---------- Deprecate not setting a value for http_method_override option Related to #18507. Commits ------- dba6819 Deprecate not setting a value for http_method_override option
2 parents fc0362f + dba6819 commit 9287605

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/configuration/framework.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,11 @@ The **default value** is:
196196
* ``false``, if you've created a new Symfony application or updated the Symfony
197197
Flex recipes. This is also the default value starting from Symfony 7.0.
198198

199+
.. deprecated:: 6.1
200+
201+
Not setting a value explicitly for this option is deprecated since Symfony 6.1
202+
because the default value will change to ``false`` in Symfony 7.0.
203+
199204
.. seealso::
200205

201206
:ref:`Changing the Action and HTTP Method <forms-change-action-method>` of
@@ -219,7 +224,6 @@ The **default value** is:
219224
$request = Request::createFromGlobals();
220225
// ...
221226

222-
223227
.. _configuration-framework-http_method_override:
224228

225229
trust_x_sendfile_type_header

0 commit comments

Comments
 (0)
0