8000 remove 2.x versionadded directives by xabbuh · Pull Request #7558 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

remove 2.x versionadded directives #7558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 1, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
remove 2.x versionadded directives
  • Loading branch information
xabbuh committed Mar 1, 2017
commit 5cf98d98a976c01b134bf9842750e55aabafe2f9
4 changes: 0 additions & 4 deletions components/http_foundation/trusting_proxies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ your proxy as follows:
// front controller) to only trust proxy headers coming from these IP addresses
Request::setTrustedProxies(array('192.0.0.1', '10.0.0.0/8'));

.. versionadded:: 2.3
CIDR notation support was introduced in Symfony 2.3, so you can whitelist whole
subnets (e.g. ``10.0.0.0/8``, ``fc00::/7``).

You should also make sure that your proxy filters unauthorized use of these
headers, e.g. if a proxy natively uses the ``X-Forwarded-For`` header, it
should not allow clients to send ``Forwarded`` headers to Symfony.
Expand Down
4 changes: 0 additions & 4 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,6 @@ and ``redirect()`` methods::
return $this->redirect('http://symfony.com/doc');
}

.. versionadded:: 2.6
The ``redirectToRoute()`` method was introduced in Symfony 2.6. Previously (and still now), you
could use ``redirect()`` and ``generateUrl()`` together for this.

For more information, see the :doc:`Routing article </routing>`.

.. caution::
Expand Down
3 changes: 0 additions & 3 deletions reference/configuration/framework.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1452,9 +1452,6 @@ name_converter

**type**: ``string``

.. versionadded:: 2.8
The ``name_converter`` option was introduced in Symfony 2.8.

The name converter to use.
The :class:`Symfony\\Component\\Serializer\\NameConverter\\CamelCaseToSnakeCaseNameConverter`
name converter can enabled by using the ``serializer.name_converter.camel_case_to_snake_case``
Expand Down
3 changes: 0 additions & 3 deletions serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ A service leveraging `APCu`_ (and APC for PHP < 5.5) is built-in.
Enabling a Name Converter
-------------------------

.. versionadded:: 2.8
The ``name_converter`` option was introduced in Symfony 2.8.

The use of a :ref:`name converter <component-serializer-converting-property-names-when-serializing-and-deserializing>`
service can be defined in the configuration using the :ref:`name_converter <reference-serializer-name_converter>`
option.
Expand Down
0