diff --git a/book/controller.rst b/book/controller.rst index 753c1081df7..6e532deb0f6 100644 --- a/book/controller.rst +++ b/book/controller.rst @@ -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:: diff --git a/components/dependency_injection/autowiring.rst b/components/dependency_injection/autowiring.rst index ad781a2609d..8890a1ad8ad 100644 --- a/components/dependency_injection/autowiring.rst +++ b/components/dependency_injection/autowiring.rst @@ -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`_, diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index 6f6c6ccc5eb..0ac55ba928c 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -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; diff --git a/components/phpunit_bridge.rst b/components/phpunit_bridge.rst index ae5e7b4da33..10abe778382 100644 --- a/components/phpunit_bridge.rst +++ b/components/phpunit_bridge.rst @@ -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 ------------ diff --git a/cookbook/security/multiple_guard_authenticators.rst b/cookbook/security/multiple_guard_authenticators.rst index acb1f774422..95b291851cb 100644 --- a/cookbook/security/multiple_guard_authenticators.rst +++ b/cookbook/security/multiple_guard_authenticators.rst @@ -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. diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index 31d528875d6..61539cc12e4 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -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 diff --git a/reference/forms/types/options/label_format.rst.inc b/reference/forms/types/options/label_format.rst.inc index 73f7eee0e7e..3be2ca2abb9 100644 --- a/reference/forms/types/options/label_format.rst.inc +++ b/reference/forms/types/options/label_format.rst.inc @@ -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`` diff --git a/reference/forms/types/time.rst b/reference/forms/types/time.rst index e8114099b06..3824052fe3c 100644 --- a/reference/forms/types/time.rst +++ b/reference/forms/types/time.rst @@ -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