Skip to content

Commit e58e39f

Browse files
committed
minor #3832 fix the wording in versionadded directives (for the 2.3 branch) (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- fix the wording in versionadded directives (for the 2.3 branch) | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- a2d39a1 fix the wording in versionadded directives
2 parents 09d6ca1 + a2d39a1 commit e58e39f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+81
-72
lines changed

book/forms.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,10 +232,10 @@ controller::
232232
}
233233

234234
.. versionadded:: 2.3
235-
The :method:`Symfony\\Component\\Form\\FormInterface::handleRequest` method was
236-
added in Symfony 2.3. Previously, the ``$request`` was passed to the
237-
``submit`` method - a strategy which is deprecated and will be removed
238-
in Symfony 3.0. For details on that method, see :ref:`cookbook-form-submit-request`.
235+
The :method:`Symfony\\Component\\Form\\FormInterface::handleRequest` method
236+
was introduced in Symfony 2.3. Previously, the ``$request`` was passed
237+
to the ``submit`` method - a strategy which is deprecated and will be
238+
removed in Symfony 3.0. For details on that method, see :ref:`cookbook-form-submit-request`.
239239

240240
This controller follows a common pattern for handling forms, and has three
241241
possible paths:
@@ -1845,7 +1845,7 @@ but here's a short example:
18451845
.. versionadded:: 2.1
18461846
The ``constraints`` option, which accepts a single constraint or an array
18471847
of constraints (before 2.1, the option was called ``validation_constraint``,
1848-
and only accepted a single constraint) is new to Symfony 2.1.
1848+
and only accepted a single constraint) was introduced in Symfony 2.1.
18491849
18501850
.. code-block:: php
18511851

book/routing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ The route is simple:
6969
return $collection;
7070
7171
.. versionadded:: 2.2
72-
The ``path`` option is new in Symfony 2.2, ``pattern`` is used in older
73-
versions.
72+
The ``path`` option was introduced in Symfony 2.2, ``pattern`` is used
73+
in older versions.
7474

7575
The path defined by the ``blog_show`` route acts like ``/blog/*`` where
7676
the wildcard is given the name ``slug``. For the URL ``/blog/my-blog-post``,
@@ -704,7 +704,7 @@ be accomplished with the following route configuration:
704704
return $collection;
705705
706706
.. versionadded:: 2.2
707-
The ``methods`` option is added in Symfony 2.2. Use the ``_method``
707+
The ``methods`` option was introduced in Symfony 2.2. Use the ``_method``
708708
requirement in older versions.
709709

710710
Despite the fact that these two routes have identical paths (``/contact``),

book/security.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1846,7 +1846,8 @@ Utilities
18461846
---------
18471847

18481848
.. versionadded:: 2.2
1849-
The ``StringUtils`` and ``SecureRandom`` classes were added in Symfony 2.2
1849+
The ``StringUtils`` and ``SecureRandom`` classes were introduced in Symfony
1850+
2.2
18501851

18511852
The Symfony Security component comes with a collection of nice utilities related
18521853
to security. These utilities are used by Symfony, but you should also use

book/testing.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,9 @@ Accessing internal Objects
408408
~~~~~~~~~~~~~~~~~~~~~~~~~~
409409

410410
.. versionadded:: 2.3
411-
The ``getInternalRequest()`` and ``getInternalResponse()`` method were
412-
added in Symfony 2.3.
411+
The :method:`Symfony\\Component\\BrowserKit\\Client::getInternalRequest`
412+
and :method:`Symfony\\Component\\BrowserKit\\Client::getInternalResponse`
413+
methods were introduced in Symfony 2.3.
413414

414415
If you use the client to test your application, you might want to access the
415416
client's internal objects::

book/translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ texts* and complex expressions:
308308
template (in order to avoid side effects).
309309

310310
.. versionadded:: 2.1
311-
The ``trans_default_domain`` tag is new in Symfony 2.1
311+
The ``trans_default_domain`` tag was introduced in Symfony 2.1.
312312

313313
PHP Templates
314314
~~~~~~~~~~~~~

components/config/definition.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Numeric Node Constraints
112112
~~~~~~~~~~~~~~~~~~~~~~~~
113113

114114
.. versionadded:: 2.2
115-
The numeric (float and integer) nodes are new in 2.2
115+
The numeric (float and integer) nodes were introduced in Symfony 2.2.
116116

117117
Numeric nodes (float and integer) provide two extra constraints -
118118
:method:`Symfony\\Component\\Config\\Definition\\Builder::min` and
@@ -137,7 +137,7 @@ Enum Nodes
137137
~~~~~~~~~~
138138

139139
.. versionadded:: 2.1
140-
The enum node is new in Symfony 2.1
140+
The enum node was introduced in Symfony 2.1.
141141

142142
Enum nodes provide a constraint to match the given input against a set of
143143
values::
@@ -291,7 +291,8 @@ Optional Sections
291291
-----------------
292292

293293
.. versionadded:: 2.2
294-
The ``canBeEnabled`` and ``canBeDisabled`` methods are new in Symfony 2.2
294+
The ``canBeEnabled`` and ``canBeDisabled`` methods were introduced in
295+
Symfony 2.2.
295296

296297
If you have entire sections which are optional and can be enabled/disabled,
297298
you can take advantage of the shortcut

components/console/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Using Events
55
============
66

77
.. versionadded:: 2.3
8-
Console events were added in Symfony 2.3.
8+
Console events were introduced in Symfony 2.3.
99

1010
The Application class of the Console component allows you to optionally hook
1111
into the lifecycle of a console application via events. Instead of reinventing

components/debug.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ The Debug Component
88
The Debug component provides tools to ease debugging PHP code.
99

1010
.. versionadded:: 2.3
11-
The Debug component is new to Symfony 2.3. Previously, the classes were
12-
located in the HttpKernel component.
11+
The Debug component was introduced in Symfony 2.3. Previously, the classes
12+
were located in the HttpKernel component.
1313

1414
Installation
1515
------------

components/dependency_injection/compilation.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ Prepending Configuration Passed to the Extension
277277
------------------------------------------------
278278

279279
.. versionadded:: 2.2
280-
The ability to prepend the configuration of a bundle is new in Symfony 2.2.
280+
The ability to prepend the configuration of a bundle was introduced in
281+
Symfony 2.2.
281282

282283
An Extension can prepend the configuration of any Bundle before the ``load()``
283284
method is called by implementing :class:`Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface`::

components/dependency_injection/lazy_services.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Lazy Services
55
=============
66

77
.. versionadded:: 2.3
8-
Lazy services were added in Symfony 2.3.
8+
Lazy services were introduced in Symfony 2.3.
99

1010
Why lazy Services?
1111
------------------

0 commit comments

Comments
 (0)