8000 remove 2.x versionadded directives · symfony/symfony-docs@5cf98d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5cf98d9

Browse files
committed
remove 2.x versionadded directives
1 parent 2ac669f commit 5cf98d9

File tree

4 files changed

+0
-14
lines changed

4 files changed

+0
-14
lines changed

components/http_foundation/trusting_proxies.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ your proxy as follows:
2727
// front controller) to only trust proxy headers coming from these IP addresses
2828
Request::setTrustedProxies(array('192.0.0.1', '10.0.0.0/8'));
2929
30-
.. versionadded:: 2.3
31-
CIDR notation support was introduced in Symfony 2.3, so you can whitelist whole
32-
subnets (e.g. ``10.0.0.0/8``, ``fc00::/7``).
33-
3430
You should also make sure that your proxy filters unauthorized use of these
3531
headers, e.g. if a proxy natively uses the ``X-Forwarded-For`` header, it
3632
should not allow clients to send ``Forwarded`` headers to Symfony.
< 8000 div aria-hidden="true" class="position-absolute top-0 d-flex user-select-none DiffLineTableCellParts-module__comment-indicator--eI0hb">

controller.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,6 @@ and ``redirect()`` methods::
180180
return $this->redirect('http://symfony.com/doc');
181181
}
182182

183-
.. versionadded:: 2.6
184-
The ``redirectToRoute()`` method was introduced in Symfony 2.6. Previously (and still now), you
185-
could use ``redirect()`` and ``generateUrl()`` together for this.
186-
187183
For more information, see the :doc:`Routing article </routing>`.
188184

189185
.. caution::

reference/configuration/framework.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,9 +1452,6 @@ name_converter
14521452

14531453
**type**: ``string``
14541454

1455-
.. versionadded:: 2.8
1456-
The ``name_converter`` option was introduced in Symfony 2.8.
1457-
14581455
The name converter to use.
14591456
The :class:`Symfony\\Component\\Serializer\\NameConverter\\CamelCaseToSnakeCaseNameConverter`
14601457
name converter can enabled by using the ``serializer.name_converter.camel_case_to_snake_case``

serializer.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,6 @@ A service leveraging `APCu`_ (and APC for PHP < 5.5) is built-in.
223223
Enabling a Name Converter
224224
-------------------------
225225

226-
.. versionadded:: 2.8
227-
The ``name_converter`` option was introduced in Symfony 2.8.
228-
229226
The use of a :ref:`name converter <component-serializer-converting-property-names-when-serializing-and-deserializing>`
230227
service can be defined in the configuration using the :ref:`name_converter <reference-serializer-name_converter>`
231228
option.

0 commit comments

Comments
 (0)
0