Skip to content

Commit 10fe8a4

Browse files
committed
Removed 2.2 references as it reached eom
1 parent 957bca4 commit 10fe8a4

26 files changed

+10
-149
lines changed

book/forms.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1873,7 +1873,7 @@ Learn more from the Cookbook
18731873
18741874
.. _`Symfony2 Form Component`: https://github.com/symfony/Form
18751875
.. _`DateTime`: http://php.net/manual/en/class.datetime.php
1876-
.. _`Twig Bridge`: https://github.com/symfony/symfony/tree/2.2/src/Symfony/Bridge/Twig
1877-
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/2.2/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
1876+
.. _`Twig Bridge`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bridge/Twig
1877+
.. _`form_div_layout.html.twig`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig
18781878
.. _`Cross-site request forgery`: http://en.wikipedia.org/wiki/Cross-site_request_forgery
1879-
.. _`view on GitHub`: https://github.com/symfony/symfony/tree/2.2/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form
1879+
.. _`view on GitHub`: https://github.com/symfony/symfony/tree/master/src/Symfony/Bundle/FrameworkBundle/Resources/views/Form

book/routing.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ The route is simple:
6868
6969
return $collection;
7070
71-
.. versionadded:: 2.2
72-
The ``path`` option is new in Symfony2.2, ``pattern`` is used in older
73-
versions.
74-
7571
The path defined by the ``blog_show`` route acts like ``/blog/*`` where
7672
the wildcard is given the name ``slug``. For the URL ``/blog/my-blog-post``,
7773
the ``slug`` variable gets a value of ``my-blog-post``, which is available
@@ -694,10 +690,6 @@ be accomplished with the following route configuration:
694690
695691
return $collection;
696692
697-
.. versionadded:: 2.2
698-
The ``methods`` option is added in Symfony2.2. Use the ``_method``
699-
requirement in older versions.
700-
701693
Despite the fact that these two routes have identical paths (``/contact``),
702694
the first route will match only GET requests and the second route will match
703695
only POST requests. This means that you can display the form and submit the
@@ -710,9 +702,6 @@ form via the same URL, while using distinct controllers for the two actions.
710702
Adding a Host
711703
~~~~~~~~~~~~~
712704

713-
.. versionadded:: 2.2
714-
Host matching support was added in Symfony 2.2
715-
716705
You can also match on the HTTP *host* of the incoming request. For more
717706
information, see :doc:`/components/routing/hostname_pattern` in the Routing
718707
component documentation.
@@ -1070,9 +1059,6 @@ from the new routing resource.
10701059
Adding a Host regex to Imported Routes
10711060
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10721061

1073-
.. versionadded:: 2.2
1074-
Host matching support was added in Symfony 2.2
1075-
10761062
You can set the host regex on imported routes. For more information, see
10771063
:ref:`component-routing-host-imported`.
10781064

book/security.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,10 +1385,6 @@ it as base64. In other words, the password has been greatly obfuscated so
13851385
that the hashed password can't be decoded (i.e. you can't determine the password
13861386
from the hashed password).
13871387

1388-
.. versionadded:: 2.2
1389-
As of Symfony 2.2 you can also use the :ref:`PBKDF2 <reference-security-pbkdf2>`
1390-
and :ref:`BCrypt <reference-security-bcrypt>` password encoders.
1391-
13921388
Determining the Hashed Password
13931389
...............................
13941390

@@ -2023,9 +2019,6 @@ cookie will be ever created by Symfony2):
20232019
Utilities
20242020
---------
20252021

2026-
.. versionadded:: 2.2
2027-
The ``StringUtils`` and ``SecureRandom`` classes were added in Symfony 2.2
2028-
20292022
The Symfony Security Component comes with a collection of nice utilities related
20302023
to security. These utilities are used by Symfony, but you should also use
20312024
them if you want to solve the problem they address.

book/templating.rst

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -375,11 +375,6 @@ When working with template inheritance, here are some tips to keep in mind:
375375
Template Naming and Locations
376376
-----------------------------
377377

378-
.. versionadded:: 2.2
379-
Namespaced path support was added in 2.2, allowing for template names
380-
like ``@AcmeDemo/layout.html.twig``. See :doc:`/cookbook/templating/namespaced_paths`
381-
for more details.
382-
383378
By default, templates can live in two different locations:
384379

385380
* ``app/Resources/views/``: The applications ``views`` directory can contain
@@ -572,10 +567,6 @@ you set `with_context`_ to false).
572567
maps (i.e. an array with named keys). If you needed to pass in multiple
573568
elements, it would look like this: ``{'foo': foo, 'bar': bar}``.
574569

575-
.. versionadded:: 2.2
576-
The `include() function`_ is a new Twig feature that's available in Symfony
577-
2.2. Prior, the `{% include %} tag`_ tag was used.
578-
579570
.. index::
580571
single: Templating; Embedding action
581572

@@ -782,9 +773,6 @@ in your application configuration:
782773
),
783774
));
784775
785-
.. versionadded:: 2.2
786-
Default templates per render function was added in Symfony 2.2
787-
788776
You can define default templates per ``render`` function (which will override
789777
any global default template that is defined):
790778

components/config/definition.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ node definition. Node type are available for:
9999

100100
* scalar
101101
* boolean
102-
* integer (new in 2.2)
102+
* integer
103103
* float
104104
* enum
105105
* array
@@ -111,9 +111,6 @@ and are created with ``node($name, $type)`` or their associated shortcut
111111
Numeric node constraints
112112
~~~~~~~~~~~~~~~~~~~~~~~~
113113

114-
.. versionadded:: 2.2
115-
The numeric (float and integer) nodes are new in 2.2
116-
117114
Numeric nodes (float and integer) provide two extra constraints -
118115
:method:`Symfony\\Component\\Config\\Definition\\Builder::min` and
119116
:method:`Symfony\\Component\\Config\\Definition\\Builder::max` -
@@ -287,9 +284,6 @@ has a certain value:
287284
Optional Sections
288285
-----------------
289286

290-
.. versionadded:: 2.2
291-
The ``canBeEnabled`` and ``canBeDisabled`` methods are new in Symfony 2.2
292-
293287
If you have entire sections which are optional and can be enabled/disabled,
294288
you can take advantage of the shortcut
295289
:method:`Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition::canBeEnabled` and

components/console/helpers/dialoghelper.rst

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ the default value (``AcmeDemoBundle`` here) is returned.
5656
Autocompletion
5757
~~~~~~~~~~~~~~
5858

59-
.. versionadded:: 2.2
60-
Autocompletion for questions was added in Symfony 2.2.
61-
6259
You can also specify an array of potential answers for a given question. These
6360
will be autocompleted as the user types::
6461

@@ -74,9 +71,6 @@ will be autocompleted as the user types::
7471
Hiding the User's Response
7572
~~~~~~~~~~~~~~~~~~~~~~~~~~
7673

77-
.. versionadded:: 2.2
78-
The ``askHiddenResponse`` method was added in Symfony 2.2.
79-
8074
You can also ask a question and hide the response. This is particularly
8175
convenient for passwords::
8276

@@ -144,9 +138,6 @@ be able to proceed if her input is valid.
144138
Hiding the User's Response
145139
~~~~~~~~~~~~~~~~~~~~~~~~~~
146140

147-
.. versionadded:: 2.2
148-
The ``askHiddenResponseAndValidate`` method was added in Symfony 2.2.
149-
150141
You can also ask and validate a hidden response::
151142

152143
$dialog = $this->getHelperSet()->get('dialog');
@@ -171,10 +162,6 @@ some reason, pass true as the fifth argument.
171162
Let the user choose from a list of Answers
172163
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
173164

174-
.. versionadded:: 2.2
175-
The :method:`Symfony\\Component\\Console\\Helper\\DialogHelper::select` method
176-
was added in Symfony 2.2.
177-
178165
If you have a predefined set of answers the user can choose from, you
179166
could use the ``ask`` method described above or, to make sure the user
180167
provided a correct answer, the ``askAndValidate`` method. Both have

components/console/helpers/progresshelper.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
Progress Helper
55
===============
66

7-
.. versionadded:: 2.2
8-
The ``progress`` helper was added in Symfony 2.2.
9-
107
.. versionadded:: 2.3
118
The ``setCurrent`` method was added in Symfony 2.3.
129

components/dependency_injection/compilation.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ but also load a secondary one only if a certain parameter is set::
276276
Prepending Configuration passed to the Extension
277277
------------------------------------------------
278278

279-
.. versionadded:: 2.2
280-
The ability to prepend the configuration of a bundle is new in Symfony 2.2.
281-
282279
An Extension can prepend the configuration of any Bundle before the ``load()``
283280
method is called by implementing :class:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface`::
284281

components/finder.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ Search in several locations by chaining calls to
8282

8383
$finder->files()->in(__DIR__)->in('/elsewhere');
8484

85-
.. versionadded:: 2.2
86-
Wildcard support was added in version 2.2.
87-
8885
Use wildcard characters to search in the directories matching a pattern::
8986

9087
$finder->in('src/Symfony/*/*/Resources');
@@ -206,9 +203,6 @@ The ``notContains()`` method excludes files containing given pattern::
206203
Path
207204
~~~~
208205

209-
.. versionadded:: 2.2
210-
The ``path()`` and ``notPath()`` methods were added in version 2.2.
211-
212206
Restrict files and directories by path with the
213207
:method:`Symfony\\Component\\Finder\\Finder::path` method::
214208

components/http_foundation/introduction.rst

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -248,9 +248,6 @@ by using the following methods:
248248
.. versionadded:: 2.4
249249
The ``getEncodings()`` method was added in Symfony 2.4.
250250

251-
.. versionadded:: 2.2
252-
The :class:`Symfony\\Component\\HttpFoundation\\AcceptHeader` class is new in Symfony 2.2.
253-
254251
If you need to get full access to parsed data from ``Accept``, ``Accept-Language``,
255252
``Accept-Charset`` or ``Accept-Encoding``, you can use
256253
:class:`Symfony\\Component\\HttpFoundation\\AcceptHeader` utility class::
@@ -462,10 +459,6 @@ abstracts the hard work behind a simple API::
462459

463460
$response->headers->set('Content-Disposition', $d);
464461

465-
.. versionadded:: 2.2
466-
The :class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`
467-
class was added in Symfony 2.2.
468-
469462
Alternatively, if you are serving a static file, you can use a
470463
:class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`::
471464

0 commit comments

Comments
 (0)