Skip to content
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

remove 2.x versionadded directives #6547

Merged
merged 1 commit into from
May 13, 2016
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
4 changes: 0 additions & 4 deletions book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -431,10 +431,6 @@ If you want to redirect the user to another page, use the ``redirectToRoute()``
// return $this->redirect($this->generateUrl('homepage'));
}

.. 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 (see the example above).

By default, the ``redirectToRoute()`` method performs a 302 (temporary) redirect. To
perform a 301 (permanent) redirect, modify the third argument::

Expand Down
3 changes: 0 additions & 3 deletions components/dependency_injection/autowiring.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
Defining Services Dependencies Automatically (Autowiring)
=========================================================

.. versionadded:: 2.8
Support for autowiring services was introduced in Symfony 2.8.

Autowiring allows to register services in the container with minimal configuration.
It automatically resolves the service dependencies based on the constructor's
typehint which is useful in the field of `Rapid Application Development`_,
Expand Down
3 changes: 0 additions & 3 deletions components/http_foundation/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ has some methods to filter the input values:
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getBoolean`
Returns the parameter value converted to boolean;

.. versionadded:: 2.6
The ``getBoolean()`` method was introduced in Symfony 2.6.

:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getDigits`
Returns the digits of the parameter value;

Expand Down
4 changes: 0 additions & 4 deletions components/phpunit_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ It comes with the following features:

* Provides a ``ClockMock`` helper class for time-sensitive tests.

.. versionadded:: 2.7
The PHPUnit Bridge was introduced in Symfony 2.7. It is however possible to
install the bridge in any Symfony application (even 2.3).

Installation
------------

Expand Down
3 changes: 0 additions & 3 deletions cookbook/security/multiple_guard_authenticators.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
How to Use Multiple Guard Authenticators
========================================

.. versionadded:: 2.8
The ``Guard`` component was introduced in Symfony 2.8.

The Guard authentication component allows you to easily use many different
authenticators at a time.

Expand Down
4 changes: 0 additions & 4 deletions reference/forms/types/choice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,6 @@ choices_as_values

**type**: ``boolean`` **default**: false

.. versionadded:: 2.7

The ``choices_as_values`` option was introduced in Symfony 2.7.

The ``choices_as_values`` option was added to keep backward compatibility with the
*old* way of handling the ``choices`` option. When set to ``false`` (or omitted),
the choice keys are used as the underlying value and the choice values are shown
Expand Down
3 changes: 0 additions & 3 deletions reference/forms/types/options/label_format.rst.inc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
label_format
~~~~~~~~~~~~

.. versionadded:: 2.6
The ``label_format`` option was introduced in Symfony 2.6.

**type**: ``string`` **default**: ``null``

Configures the string used as the label of the field, in case the ``label``
Expand Down
4 changes: 0 additions & 4 deletions reference/forms/types/time.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ Field Options
placeholder
~~~~~~~~~~~

.. versionadded:: 2.6
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
``empty_value``, which is available prior to 2.6.

**type**: ``string`` | ``array``

If your widget option is set to ``choice``, then this field will be represented
Expand Down