Skip to content

Commit 499eb6c

Browse files
committed
minor #3714 [2.4] Versionadded consistency (WouterJ)
This PR was merged into the 2.4 branch. Discussion ---------- [2.4] Versionadded consistency Just like the previous one, but then for 2.4. It turns out we failed in forcing the versionadded standard :) | Q | A | --- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.4+ | Fixed tickets | - Commits ------- 78d4a0f More consistency stuff 8187776 was added -> was introduced
2 parents a849123 + 78d4a0f commit 499eb6c

30 files changed

+40
-40
lines changed

book/controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ itself.
398398
via the ``container`` property.
399399

400400
.. versionadded:: 2.4
401-
The ``ContainerAwareTrait`` is new in Symfony 2.4.
401+
The ``ContainerAwareTrait`` was introduced in Symfony 2.4.
402402

403403
.. note::
404404

@@ -766,7 +766,7 @@ headers and content that's sent back to the client::
766766
$response->headers->set('Content-Type', 'application/json');
767767

768768
.. versionadded:: 2.4
769-
Support for HTTP status code constants was added in Symfony 2.4.
769+
Support for HTTP status code constants was introduced in Symfony 2.4.
770770

771771
.. tip::
772772

book/from_flat_php_to_symfony2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ the HTTP response being returned. Use them to improve the blog:
481481
$response->send();
482482

483483
.. versionadded:: 2.4
484-
Support for HTTP status code constants was added in Symfony 2.4.
484+
Support for HTTP status code constants was introduced in Symfony 2.4.
485485

486486
The controllers are now responsible for returning a ``Response`` object.
487487
To make this easier, you can add a new ``render_template()`` function, which,

book/http_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1082,7 +1082,7 @@ Here is how you can configure the Symfony2 reverse proxy to support the
10821082
}
10831083

10841084
.. versionadded:: 2.4
1085-
Support for HTTP status code constants was added in Symfony 2.4.
1085+
Support for HTTP status code constants was introduced in Symfony 2.4.
10861086

10871087
.. caution::
10881088

book/http_fundamentals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ interface to construct the response that needs to be returned to the client::
285285
$response->send();
286286

287287
.. versionadded:: 2.4
288-
Support for HTTP status code constants was added in Symfony 2.4.
288+
Support for HTTP status code constants was introduced in Symfony 2.4.
289289

290290
If Symfony offered nothing else, you would already have a toolkit for easily
291291
accessing request information and an object-oriented interface for creating

book/internals.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ and set a new ``Exception`` object, or do nothing::
427427
);
428428

429429
.. versionadded:: 2.4
430-
Support for HTTP status code constants was added in Symfony 2.4.
430+
Support for HTTP status code constants was introduced in Symfony 2.4.
431431

432432
.. seealso::
433433

book/service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,7 @@ Injecting the Request
836836
~~~~~~~~~~~~~~~~~~~~~
837837

838838
.. versionadded:: 2.4
839-
The ``request_stack`` service was introduced in version 2.4.
839+
The ``request_stack`` service was introduced in Symfony 2.4.
840840

841841
As of Symfony 2.4, instead of injecting the ``request`` service, you should
842842
inject the ``request_stack`` service and access the ``Request`` by calling

book/testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ document::
311311
$this->assertTrue($client->getResponse()->isRedirect());
312312

313313
.. versionadded:: 2.4
314-
Support for HTTP status code constants was added with Symfony 2.4.
314+
Support for HTTP status code constants was introduced in Symfony 2.4.
315315

316316
.. index::
317317
single: Tests; Client

components/console/helpers/progresshelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Progress Helper
1111
The ``setCurrent`` method was introduced in Symfony 2.3.
1212

1313
.. versionadded:: 2.4
14-
The ``clear`` method was added in Symfony 2.4.
14+
The ``clear`` method was introduced in Symfony 2.4.
1515

1616
When executing longer-running commands, it may be helpful to show progress
1717
information, which updates as your command runs:

components/console/helpers/tablehelper.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Customize Table Layout using Named Layouts
3333
------------------------------------------
3434

3535
.. versionadded:: 2.4
36-
The ``TableHelper::LAYOUT_COMPACT`` layout was added in Symfony 2.4.
36+
The ``TableHelper::LAYOUT_COMPACT`` layout was introduced in Symfony 2.4.
3737

3838
The Table helper ships with three preconfigured table layouts:
3939

components/console/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ level. For example::
203203
:method:`Symfony\\Component\\Console\\Output\\Output::isVerbose`,
204204
:method:`Symfony\\Component\\Console\\Output\\Output::isVeryVerbose` and
205205
:method:`Symfony\\Component\\Console\\Output\\Output::isDebug`
206-
methods were introduced in version 2.4
206+
methods were introduced in Symfony 2.4
207207

208208
There are also more semantic methods you can use to test for each of the
209209
verbosity levels::

0 commit comments

Comments
 (0)