Skip to content

Commit c703549

Browse files
committed
Merge branch '2.4'
2 parents 8e6e550 + 499eb6c commit c703549

30 files changed

+40
-40
lines changed

book/controller.rst

+2-2
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Progress Helper
88
The ``setCurrent`` method was introduced in Symfony 2.3.
99

1010
.. versionadded:: 2.4
11-
The ``clear`` method was added in Symfony 2.4.
11+
The ``clear`` method was introduced in Symfony 2.4.
1212

1313
.. caution::
1414

components/console/helpers/tablehelper.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Customize Table Layout using Named Layouts
4040
------------------------------------------
4141

4242
.. versionadded:: 2.4
43-
The ``TableHelper::LAYOUT_COMPACT`` layout was added in Symfony 2.4.
43+
The ``TableHelper::LAYOUT_COMPACT`` layout was introduced in Symfony 2.4.
4444

4545
The Table helper ships with three preconfigured table layouts:
4646

components/console/introduction.rst

+1-1
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::

components/debug/class_loader.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Debugging a Class Loader
66
========================
77

88
.. versionadded:: 2.4
9-
The ``DebugClassLoader`` of the Debug component is new in Symfony 2.4.
10-
Previously, it was located in the Class Loader component.
9+
The ``DebugClassLoader`` of the Debug component was introduced in Symfony 2.4.
10+
Previously, it was located in the ClassLoader component.
1111

1212
The :class:`Symfony\\Component\\Debug\\DebugClassLoader` attempts to
1313
throw more helpful exceptions when a class isn't found by the registered

components/dom_crawler.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Selecting Invalid Choice Values
449449

450450
.. versionadded:: 2.4
451451
The :method:`Symfony\\Component\\DomCrawler\\Form::disableValidation`
452-
method was added in Symfony 2.4.
452+
method was introduced in Symfony 2.4.
453453

454454
By default, choice fields (select, radio) have internal validation activated
455455
to prevent you from setting invalid values. If you want to be able to set

components/event_dispatcher/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ EventDispatcher aware Events and Listeners
442442
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443443

444444
.. versionadded:: 2.4
445-
Since Symfony 2.4 the current event name and the ``EventDispatcher``
445+
Since Symfony 2.4, the current event name and the ``EventDispatcher``
446446
itself are passed to the listeners as additional arguments.
447447

448448
The ``EventDispatcher`` always passes the dispatched event, the event's name

components/filesystem.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ endpoint for filesystem operations::
3232
}
3333

3434
.. versionadded:: 2.4
35-
The ``IOExceptionInterface`` and its ``getPath`` method are new in Symfony
36-
2.4. Prior to 2.4, you would catch the ``IOException`` class.
35+
The ``IOExceptionInterface`` and its ``getPath`` method were introduced in
36+
Symfony 2.4. Prior to 2.4, you would catch the ``IOException`` class.
3737

3838
.. note::
3939

components/http_foundation/introduction.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ by using the following methods:
254254
returns the list of accepted charsets ordered by descending quality;
255255

256256
.. versionadded:: 2.4
257-
The ``getEncodings()`` method was added in Symfony 2.4.
257+
The ``getEncodings()`` method was introduced in Symfony 2.4.
258258

259259
If you need to get full access to parsed data from ``Accept``, ``Accept-Language``,
260260
``Accept-Charset`` or ``Accept-Encoding``, you can use
@@ -286,7 +286,7 @@ Overriding the Request
286286

287287
.. versionadded:: 2.4
288288
The :method:`Symfony\\Component\\HttpFoundation\\Request::setFactory`
289-
method was added in Symfony 2.4.
289+
method was introduced in Symfony 2.4.
290290

291291
The ``Request`` class should not be overridden as it is a data object that
292292
represents an HTTP message. But when moving from a legacy system, adding
@@ -336,7 +336,7 @@ code, and an array of HTTP headers::
336336
);
337337

338338
.. versionadded:: 2.4
339-
Support for HTTP status code constants was added in Symfony 2.4.
339+
Support for HTTP status code constants was introduced in Symfony 2.4.
340340

341341
These information can also be manipulated after the Response object creation::
342342

components/process.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ and :method:`Symfony\\Component\\Process\\Process::getIncrementalErrorOutput`
4343
methods returns the new outputs since the last call.
4444

4545
.. versionadded:: 2.4
46-
The ``clearOutput()`` and ``clearErrorOutput()`` methods were added in Symfony 2.4.
46+
The ``clearOutput()`` and ``clearErrorOutput()`` methods were introduced in Symfony 2.4.
4747

4848
The :method:`Symfony\\Component\\Process\\Process::clearOutput` method clears
4949
the contents of the output and

cookbook/console/commands_as_services.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to Define Commands as Services
66

77
.. versionadded:: 2.4
88
Support for registering commands in the service container was introduced in
9-
version 2.4.
9+
Symfony 2.4.
1010

1111
By default, Symfony will take a look in the ``Command`` directory of each
1212
bundle and automatically register your commands. If a command extends the

cookbook/console/console_command.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,8 +128,8 @@ instead of
128128

129129
.. versionadded:: 2.4
130130
Since Symfony 2.4, the ``CommandTester`` automatically detects the name of
131-
the command to execute. Thus, you don't need to pass it via the ``command``
132-
key anymore.
131+
the command to execute. Prior to Symfony 2.4, you need to pass it via the
132+
``command`` key.
133133

134134
.. note::
135135

cookbook/logging/channels_handlers.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ specified.
114114
Configure Additional Channels without Tagged Services
115115
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116116

117-
.. versionadded:: 2.3
118-
This feature was introduced to the MonologBundle in version 2.4, which
119-
was first packaged with Symfony at version 2.4.
117+
.. versionadded:: 2.4
118+
This feature was introduced to the MonologBundle 2.4, which was first
119+
packaged with Symfony 2.4.
120120

121121
With MonologBundle 2.4 you can configure additional channels without the
122122
need to tag your services:

cookbook/logging/monolog_regex_based_excludes.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ How to Configure Monolog to Exclude 404 Errors from the Log
77
===========================================================
88

99
.. versionadded:: 2.4
10-
This feature was introduced to the MonologBundle in version 2.4, which
11-
was first packaged with Symfony at version 2.4.
10+
This feature was introduced to the MonologBundle 2.4, which was first
11+
packaged with Symfony 2.4.
1212

1313
Sometimes your logs become flooded with unwanted 404 HTTP errors, for example,
1414
when an attacker scans your app for some well-known application paths (e.g.

cookbook/security/api_key_authentication.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The API Key Authenticator
1212
-------------------------
1313

1414
.. versionadded:: 2.4
15-
The ``SimplePreAuthenticatorInterface`` interface was added in Symfony 2.4.
15+
The ``SimplePreAuthenticatorInterface`` interface was introduced in Symfony 2.4.
1616

1717
Authenticating a user based on the Request information should be done via a
1818
pre-authentication mechanism. The :class:`Symfony\\Component\\Security\\Core\\Authentication\\SimplePreAuthenticatorInterface`

cookbook/security/custom_authentication_provider.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ set an authenticated token in the security context if successful.
175175
}
176176
177177
.. versionadded:: 2.4
178-
Support for HTTP status code constants was added in Symfony 2.4.
178+
Support for HTTP status code constants was introduced in Symfony 2.4.
179179

180180
This listener checks the request for the expected ``X-WSSE`` header, matches
181181
the value returned for the expected WSSE information, creates a token using

cookbook/security/custom_password_authenticator.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ The Password Authenticator
1313
--------------------------
1414

1515
.. versionadded:: 2.4
16-
The ``SimpleFormAuthenticatorInterface`` interface was added in Symfony 2.4.
16+
The ``SimpleFormAuthenticatorInterface`` interface was introduced in Symfony 2.4.
1717

1818
First, create a new class that implements
1919
:class:`Symfony\\Component\\Security\\Core\\Authentication\\SimpleFormAuthenticatorInterface`.

cookbook/service_container/event_listener.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ event is just one of the core kernel events::
5252
}
5353

5454
.. versionadded:: 2.4
55-
Support for HTTP status code constants was added in Symfony 2.4.
55+
Support for HTTP status code constants was introduced in Symfony 2.4.
5656

5757
.. tip::
5858

cookbook/session/limit_metadata_writes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Limit Session Metadata Writes
55
=============================
66

77
.. versionadded:: 2.4
8-
The ability to limit session metadata writes was added in Symfony 2.4.
8+
The ability to limit session metadata writes was introduced in Symfony 2.4.
99

1010
The default behavior of PHP session is to persist the session regardless of
1111
whether the session data has changed or not. In Symfony, each time the session

cookbook/testing/insulating_clients.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ chat for instance), create several clients::
1919
$this->assertRegExp('/Hello/', $sally->getResponse()->getContent());
2020

2121
.. versionadded:: 2.4
22-
Support for HTTP status code constants was added in Symfony 2.4.
22+
Support for HTTP status code constants was introduced in Symfony 2.4.
2323

2424
This works except when your code maintains a global state or if it depends on
2525
a third-party library that has some kind of global state. In such a case, you

reference/constraints/Image.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Additionally it has options so you can validate against the width and height
99
of the image.
1010

1111
.. versionadded:: 2.4
12-
As of Symfony 2.4 you can also validate against the image aspect ratio
12+
As of Symfony 2.4, you can also validate against the image aspect ratio
1313
(defined as ``width / height``) and selectively allow square, landscape
1414
and portrait image orientations.
1515

reference/dic_tags.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,8 @@ console.command
247247
---------------
248248
249249
.. versionadded:: 2.4
250-
Support for registering commands in the service container was added in
251-
version 2.4.
250+
Support for registering commands in the service container was introduced in
251+
Symfony 2.4.
252252
253253
**Purpose**: Add a command to the application
254254

reference/forms/twig_reference.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ object:
317317
The ``method`` and ``action`` variables were introduced in Symfony 2.3.
318318

319319
.. versionadded:: 2.4
320-
The ``submitted`` variable was added in Symfony 2.4.
320+
The ``submitted`` variable was introduced in Symfony 2.4.
321321

322322
+------------------------+-------------------------------------------------------------------------------------+
323323
| Variable | Usage |

reference/twig_reference.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Tags
137137
----
138138

139139
.. versionadded:: 2.4
140-
The stopwatch tag was added in Symfony 2.4.
140+
The stopwatch tag was introduced in Symfony 2.4.
141141

142142
+---------------------------------------------------+--------------------------------------------------------------------+
143143
| Tag Syntax | Usage |

0 commit comments

Comments
 (0)