Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dba6819

Browse files
committed
Deprecate not setting a value for http_method_override option
1 parent 2174905 commit dba6819

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

reference/configuration/framework.rst

+5-1
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)