Skip to content

Commit 8f0e5ed

Browse files
committed
remove 2.x versionadded directives
1 parent a59f2d5 commit 8f0e5ed

File tree

8 files changed

+0
-28
lines changed

8 files changed

+0
-28
lines changed

book/controller.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,6 @@ If you want to redirect the user to another page, use the ``redirectToRoute()``
431431
// return $this->redirect($this->generateUrl('homepage'));
432432
}
433433

434-
.. versionadded:: 2.6
435-
The ``redirectToRoute()`` method was introduced in Symfony 2.6. Previously (and still now), you
436-
could use ``redirect()`` and ``generateUrl()`` together for this (see the example above).
437-
438434
By default, the ``redirectToRoute()`` method performs a 302 (temporary) redirect. To
439435
perform a 301 (permanent) redirect, modify the third argument::
440436

components/dependency_injection/autowiring.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
Defining Services Dependencies Automatically (Autowiring)
55
=========================================================
66

7-
.. versionadded:: 2.8
8-
Support for autowiring services was introduced in Symfony 2.8.
9-
107
Autowiring allows to register services in the container with minimal configuration.
118
It automatically resolves the service dependencies based on the constructor's
129
typehint which is useful in the field of `Rapid Application Development`_,

components/http_foundation/introduction.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,6 @@ has some methods to filter the input values:
128128
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getBoolean`
129129
Returns the parameter value converted to boolean;
130130

131-
.. versionadded:: 2.6
132-
The ``getBoolean()`` method was introduced in Symfony 2.6.
133-
134131
:method:`Symfony\\Component\\HttpFoundation\\ParameterBag::getDigits`
135132
Returns the digits of the parameter value;
136133

components/phpunit_bridge.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@ It comes with the following features:
2020

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

23-
.. versionadded:: 2.7
24-
The PHPUnit Bridge was introduced in Symfony 2.7. It is however possible to
25-
install the bridge in any Symfony application (even 2.3).
26-
2723
Installation
2824
------------
2925

cookbook/security/multiple_guard_authenticators.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
How to Use Multiple Guard Authenticators
22
========================================
33

4-
.. versionadded:: 2.8
5-
The ``Guard`` component was introduced in Symfony 2.8.
6-
74
The Guard authentication component allows you to easily use many different
85
authenticators at a time.
96

reference/forms/types/choice.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ choices_as_values
197197

198198
**type**: ``boolean`` **default**: false
199199

200-
.. versionadded:: 2.7
201-
202-
The ``choices_as_values`` option was introduced in Symfony 2.7.
203-
204200
The ``choices_as_values`` option was added to keep backward compatibility with the
205201
*old* way of handling the ``choices`` option. When set to ``false`` (or omitted),
206202
the choice keys are used as the underlying value and the choice values are shown

reference/forms/types/options/label_format.rst.inc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
label_format
22
~~~~~~~~~~~~
33

4-
.. versionadded:: 2.6
5-
The ``label_format`` option was introduced in Symfony 2.6.
6-
74
**type**: ``string`` **default**: ``null``
85

96
Configures the string used as the label of the field, in case the ``label``

reference/forms/types/time.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ Field Options
8787
placeholder
8888
~~~~~~~~~~~
8989

90-
.. versionadded:: 2.6
91-
The ``placeholder`` option was introduced in Symfony 2.6 and replaces
92-
``empty_value``, which is available prior to 2.6.
93-
9490
**type**: ``string`` | ``array``
9591

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

0 commit comments

Comments
 (0)