Skip to content

Commit e7580c0

Browse files
committed
minor #3713 Updated versionadded directives to use "introduced" (WouterJ)
This PR was merged into the 2.3 branch. Discussion ---------- Updated versionadded directives to use "introduced" I was tired of explaining why we didn't update them on every created PR, so I decided to just update them :P | Q | A | --- | --- | Doc fix? | yes | New docs? | no | Applies to | 2.3+ | Fixed tickets | many :) Commits ------- 2884f18 Fixed syntax c192278 was added -> was introduced
2 parents 06c56c1 + 2884f18 commit e7580c0

36 files changed

+56
-57
lines changed

Diff for: book/forms.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ other things, determines which HTML form tag(s) is rendered for that field.
130130
Finally, you added a submit button for submitting the form to the server.
131131

132132
.. versionadded:: 2.3
133-
Support for submit buttons was added in Symfony 2.3. Before that, you had
133+
Support for submit buttons was introduced in Symfony 2.3. Before that, you had
134134
to add buttons to the form's HTML manually.
135135

136136
Symfony2 comes with many built-in types that will be discussed shortly
@@ -278,7 +278,7 @@ Submitting Forms with Multiple Buttons
278278
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
279279

280280
.. versionadded:: 2.3
281-
Support for buttons in forms was added in Symfony 2.3.
281+
Support for buttons in forms was introduced in Symfony 2.3.
282282

283283
When your form contains more than one submit button, you will want to check
284284
which of the buttons was clicked to adapt the program flow in your controller.
@@ -478,7 +478,7 @@ Disabling Validation
478478
~~~~~~~~~~~~~~~~~~~~
479479

480480
.. versionadded:: 2.3
481-
The ability to set ``validation_groups`` to false was added in Symfony 2.3.
481+
The ability to set ``validation_groups`` to false was introduced in Symfony 2.3.
482482

483483
Sometimes it is useful to suppress the validation of a form altogether. For
484484
these cases you can set the ``validation_groups`` option to ``false``::
@@ -548,7 +548,7 @@ Groups based on the Clicked Button
548548
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
549549

550550
.. versionadded:: 2.3
551-
Support for buttons in forms was added in Symfony 2.3.
551+
Support for buttons in forms was introduced in Symfony 2.3.
552552

553553
When your form contains multiple submit buttons, you can change the validation
554554
group depending on which button is used to submit the form. For example,

Diff for: book/routing.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ Adding a Host Requirement
720720
~~~~~~~~~~~~~~~~~~~~~~~~~
721721

722722
.. versionadded:: 2.2
723-
Host matching support was added in Symfony 2.2
723+
Host matching support was introduced in Symfony 2.2
724724

725725
You can also match on the HTTP *host* of the incoming request. For more
726726
information, see :doc:`/components/routing/hostname_pattern` in the Routing
@@ -1075,7 +1075,7 @@ Adding a Host requirement to Imported Routes
10751075
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10761076

10771077
.. versionadded:: 2.2
1078-
Host matching support was added in Symfony 2.2
1078+
Host matching support was introduced in Symfony 2.2
10791079

10801080
You can set the host regex on imported routes. For more information, see
10811081
:ref:`component-routing-host-imported`.

Diff for: book/templating.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ Template Naming and Locations
376376
-----------------------------
377377

378378
.. versionadded:: 2.2
379-
Namespaced path support was added in 2.2, allowing for template names
379+
Namespaced path support was introduced in 2.2, allowing for template names
380380
like ``@AcmeDemo/layout.html.twig``. See :doc:`/cookbook/templating/namespaced_paths`
381381
for more details.
382382

@@ -677,7 +677,7 @@ Asynchronous Content with hinclude.js
677677
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
678678

679679
.. versionadded:: 2.1
680-
hinclude.js support was added in Symfony 2.1
680+
hinclude.js support was introduced in Symfony 2.1
681681

682682
Controllers can be embedded asynchronously using the hinclude.js_ JavaScript library.
683683
As the embedded content comes from another page (or controller for that matter),
@@ -786,7 +786,7 @@ in your application configuration:
786786
));
787787
788788
.. versionadded:: 2.2
789-
Default templates per render function was added in Symfony 2.2
789+
Default templates per render function was introduced in Symfony 2.2
790790

791791
You can define default templates per ``render`` function (which will override
792792
any global default template that is defined):

Diff for: components/class_loader/cache_class_loader.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ApcClassLoader
2727
--------------
2828

2929
.. versionadded:: 2.1
30-
The ``ApcClassLoader`` class was added in Symfony 2.1.
30+
The ``ApcClassLoader`` class was introduced in Symfony 2.1.
3131

3232
``ApcClassLoader`` wraps an existing class loader and caches calls to its
3333
``findFile()`` method using `APC`_::
@@ -50,7 +50,7 @@ XcacheClassLoader
5050
-----------------
5151

5252
.. versionadded:: 2.1
53-
The ``XcacheClassLoader`` class was added in Symfony 2.1.
53+
The ``XcacheClassLoader`` class was introduced in Symfony 2.1.
5454

5555
``XcacheClassLoader`` uses `XCache`_ to cache a class loader. Registering
5656
it is straightforward::

Diff for: components/class_loader/class_loader.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The PSR-0 Class Loader
55
======================
66

77
.. versionadded:: 2.1
8-
The ``ClassLoader`` class was added in Symfony 2.1.
8+
The ``ClassLoader`` class was introduced in Symfony 2.1.
99

1010
If your classes and third-party libraries follow the `PSR-0`_ standard, you
1111
can use the :class:`Symfony\\Component\\ClassLoader\\ClassLoader` class to

Diff for: components/class_loader/debug_class_loader.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Debugging a Class Loader
55
========================
66

77
.. versionadded:: 2.1
8-
The ``DebugClassLoader`` class was added in Symfony 2.1.
8+
The ``DebugClassLoader`` class was introduced in Symfony 2.1.
99

1010
The :class:`Symfony\\Component\\ClassLoader\\DebugClassLoader` attempts to
1111
throw more helpful exceptions when a class isn't found by the registered

Diff for: components/console/helpers/dialoghelper.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Autocompletion
6060
~~~~~~~~~~~~~~
6161

6262
.. versionadded:: 2.2
63-
Autocompletion for questions was added in Symfony 2.2.
63+
Autocompletion for questions was introduced in Symfony 2.2.
6464

6565
You can also specify an array of potential answers for a given question. These
6666
will be autocompleted as the user types::
@@ -78,7 +78,7 @@ Hiding the User's Response
7878
~~~~~~~~~~~~~~~~~~~~~~~~~~
7979

8080
.. versionadded:: 2.2
81-
The ``askHiddenResponse`` method was added in Symfony 2.2.
81+
The ``askHiddenResponse`` method was introduced in Symfony 2.2.
8282

8383
You can also ask a question and hide the response. This is particularly
8484
convenient for passwords::
@@ -148,7 +148,7 @@ Validating a Hidden Response
148148
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
149149

150150
.. versionadded:: 2.2
151-
The ``askHiddenResponseAndValidate`` method was added in Symfony 2.2.
151+
The ``askHiddenResponseAndValidate`` method was introduced in Symfony 2.2.
152152

153153
You can also ask and validate a hidden response::
154154

@@ -176,7 +176,7 @@ Let the user choose from a list of Answers
176176

177177
.. versionadded:: 2.2
178178
The :method:`Symfony\\Component\\Console\\Helper\\DialogHelper::select` method
179-
was added in Symfony 2.2.
179+
was introduced in Symfony 2.2.
180180

181181
If you have a predefined set of answers the user can choose from, you
182182
could use the ``ask`` method described above or, to make sure the user
@@ -211,7 +211,7 @@ argument). The default value for the attempts is ``false``, which means infinite
211211
attempts. You can define your own error message in the sixth argument.
212212

213213
.. versionadded:: 2.3
214-
Multiselect support was added in Symfony 2.3.
214+
Multiselect support was introduced in Symfony 2.3.
215215

216216
Multiple Choices
217217
................

Diff for: components/console/helpers/progresshelper.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Progress Helper
55
===============
66

77
.. versionadded:: 2.2
8-
The ``progress`` helper was added in Symfony 2.2.
8+
The ``progress`` helper was introduced in Symfony 2.2.
99

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

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

Diff for: components/console/helpers/tablehelper.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Table Helper
55
============
66

77
.. versionadded:: 2.3
8-
The ``table`` helper was added in Symfony 2.3.
8+
The ``table`` helper was introduced in Symfony 2.3.
99

1010
When building a console application it may be useful to display tabular data:
1111

Diff for: components/event_dispatcher/immutable_dispatcher.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ The Immutable Event Dispatcher
55
==============================
66

77
.. versionadded:: 2.1
8-
This feature was added in Symfony 2.1.
8+
This feature was introduced in Symfony 2.1.
99

1010
The :class:`Symfony\\Component\\EventDispatcher\\ImmutableEventDispatcher` is
1111
a locked or frozen event dispatcher. The dispatcher cannot register new

Diff for: components/finder.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Search in several locations by chaining calls to
8383
$finder->files()->in(__DIR__)->in('/elsewhere');
8484

8585
.. versionadded:: 2.2
86-
Wildcard support was added in version 2.2.
86+
Wildcard support was introduced in version 2.2.
8787

8888
Use wildcard characters to search in the directories matching a pattern::
8989

@@ -98,7 +98,7 @@ Exclude directories from matching with the
9898

9999
.. versionadded:: 2.3
100100
The :method:`Symfony\\Component\\Finder\\Finder::ignoreUnreadableDirs`
101-
method was added in Symfony 2.3.
101+
method was introduced in Symfony 2.3.
102102

103103
It's also possible to ignore directories that you don't have permission to read::
104104

Diff for: components/form/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Request Handling
6767
~~~~~~~~~~~~~~~~
6868

6969
.. versionadded:: 2.3
70-
The ``handleRequest()`` method was added in Symfony 2.3.
70+
The ``handleRequest()`` method was introduced in Symfony 2.3.
7171

7272
To process form data, you'll need to call the :method:`Symfony\\Component\\Form\\Form::handleRequest`
7373
method::

Diff for: components/http_foundation/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ abstracts the hard work behind a simple API::
450450

451451
.. versionadded:: 2.2
452452
The :class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`
453-
class was added in Symfony 2.2.
453+
class was introduced in Symfony 2.2.
454454

455455
Alternatively, if you are serving a static file, you can use a
456456
:class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`::

Diff for: components/intl.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ The Intl Component
99
access to the localization data of the `ICU library`_.
1010

1111
.. versionadded:: 2.3
12-
13-
The Intl component was added in Symfony 2.3. In earlier versions of Symfony,
12+
The Intl component was introduced in Symfony 2.3. In earlier versions of Symfony,
1413
you should use the Locale component instead.
1514

1615
.. caution::

Diff for: components/process.rst

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ anonymous function to the
6565
});
6666

6767
.. versionadded:: 2.1
68-
The non-blocking feature was added in 2.1.
68+
The non-blocking feature was introduced in 2.1.
6969

7070
Running Processes Asynchronously
7171
--------------------------------
@@ -112,7 +112,7 @@ Stopping a Process
112112
------------------
113113

114114
.. versionadded:: 2.3
115-
The ``signal`` parameter of the ``stop`` method was added in Symfony 2.3.
115+
The ``signal`` parameter of the ``stop`` method was introduced in Symfony 2.3.
116116

117117
Any asynchronous process can be stopped at any time with the
118118
:method:`Symfony\\Component\\Process\\Process::stop` method. This method takes
@@ -152,7 +152,7 @@ To make your code work better on all platforms, you might want to use the
152152

153153
.. versionadded:: 2.3
154154
The :method:`ProcessBuilder::setPrefix<Symfony\\Component\\Process\\ProcessBuilder::setPrefix>`
155-
method was added in Symfony 2.3.
155+
method was introduced in Symfony 2.3.
156156

157157
In case you are building a binary driver, you can use the
158158
:method:`Symfony\\Component\\Process\\Process::setPrefix` method to prefix all
@@ -214,7 +214,7 @@ Process Signals
214214
---------------
215215

216216
.. versionadded:: 2.3
217-
The ``signal`` method was added in Symfony 2.3.
217+
The ``signal`` method was introduced in Symfony 2.3.
218218

219219
When running a program asynchronously, you can send it posix signals with the
220220
:method:`Symfony\\Component\\Process\\Process::signal` method::
@@ -240,7 +240,7 @@ Process Pid
240240
-----------
241241

242242
.. versionadded:: 2.3
243-
The ``getPid`` method was added in Symfony 2.3.
243+
The ``getPid`` method was introduced in Symfony 2.3.
244244

245245
You can access the `pid`_ of a running process with the
246246
:method:`Symfony\\Component\\Process\\Process::getPid` method.

Diff for: components/property_access/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
216216
echo $accessor->getValue($person, 'wouter'); // array(...)
217217

218218
.. versionadded:: 2.3
219-
The use of magic ``__call()`` method was added in Symfony 2.3.
219+
The use of magic ``__call()`` method was introduced in Symfony 2.3.
220220

221221
.. caution::
222222

Diff for: components/routing/hostname_pattern.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to match a route based on the Host
55
======================================
66

77
.. versionadded:: 2.2
8-
Host matching support was added in Symfony 2.2
8+
Host matching support was introduced in Symfony 2.2
99

1010
You can also match on the HTTP *host* of the incoming request.
1111

Diff for: components/routing/introduction.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ A full route definition can contain up to seven parts:
9494
``GET``, ``POST``, ...).
9595

9696
.. versionadded:: 2.2
97-
Host matching support was added in Symfony 2.2
97+
Host matching support was introduced in Symfony 2.2
9898

9999
Take the following route, which combines several of these ideas::
100100

Diff for: components/serializer.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Ignoring Attributes when Serializing
108108

109109
.. versionadded:: 2.3
110110
The :method:`GetSetMethodNormalizer::setIgnoredAttributes<Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer::setIgnoredAttributes>`
111-
method was added in Symfony 2.3.
111+
method was introduced in Symfony 2.3.
112112

113113
As an option, there's a way to ignore attributes from the origin object when
114114
serializing. To remove those attributes use the
@@ -153,7 +153,7 @@ Using Camelized Method Names for Underscored Attributes
153153

154154
.. versionadded:: 2.3
155155
The :method:`GetSetMethodNormalizer::setCamelizedAttributes<Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer::setCamelizedAttributes>`
156-
method was added in Symfony 2.3.
156+
method was introduced in Symfony 2.3.
157157

158158
Sometimes property names from the serialized content are underscored (e.g.
159159
``first_name``). Normally, these attributes will use get/set methods like

Diff for: cookbook/doctrine/mapping_model_classes.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ register the mappings for your model classes.
1717
just to get the auto mapping, use the compiler pass.
1818

1919
.. versionadded:: 2.3
20-
The base mapping compiler pass was added in Symfony 2.3. The Doctrine bundles
20+
The base mapping compiler pass was introduced in Symfony 2.3. The Doctrine bundles
2121
support it from DoctrineBundle >= 1.2.1, MongoDBBundle >= 3.0.0,
2222
PHPCRBundle >= 1.0.0-alpha2 and the (unversioned) CouchDBBundle supports the
2323
compiler pass since the `CouchDB Mapping Compiler Pass pull request`_

Diff for: cookbook/form/direct_submit.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ How to use the submit() Function to handle Form Submissions
66

77
.. versionadded:: 2.3
88
The :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`
9-
method was added in Symfony 2.3.
9+
method was introduced in Symfony 2.3.
1010

1111
With the ``handleRequest()`` method, it is really easy to handle form
1212
submissions::

Diff for: cookbook/form/dynamic_form_modification.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ the event listener might look like the following::
132132
.. versionadded:: 2.2
133133
The ability to pass a string into
134134
:method:`FormInterface::add <Symfony\\Component\\Form\\FormInterface::add>`
135-
was added in Symfony 2.2.
135+
was introduced in Symfony 2.2.
136136

137137
.. note::
138138
You can of course use any callback type instead of a closure, e.g. a method

Diff for: cookbook/security/entity_provider.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -800,4 +800,4 @@ or worry about it.
800800

801801
.. versionadded:: 2.1
802802
In Symfony 2.1, the ``equals`` method was removed from ``UserInterface``
803-
and the ``EquatableInterface`` was added in its place.
803+
and the ``EquatableInterface`` was introduced in its place.

Diff for: cookbook/session/php_bridge.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Bridge a legacy application with Symfony Sessions
55
=================================================
66

77
.. versionadded:: 2.3
8-
The ability to integrate with a legacy PHP session was added in Symfony 2.3.
8+
The ability to integrate with a legacy PHP session was introduced in Symfony 2.3.
99

1010
If you're integrating the Symfony full-stack Framework into a legacy application
1111
that starts the session with ``session_start()``, you may still be able to

Diff for: cookbook/templating/namespaced_paths.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ How to use and Register namespaced Twig Paths
55
=============================================
66

77
.. versionadded:: 2.2
8-
Namespaced path support was added in 2.2.
8+
Namespaced path support was introduced in 2.2.
99

1010
Usually, when you refer to a template, you'll use the ``MyBundle:Subdir:filename.html.twig``
1111
format (see :ref:`template-naming-locations`).

Diff for: reference/configuration/framework.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ profiler
408408
~~~~~~~~
409409

410410
.. versionadded:: 2.2
411-
The ``enabled`` option was added in Symfony 2.2. Previously, the profiler
411+
The ``enabled`` option was introduced in Symfony 2.2. Previously, the profiler
412412
could only be disabled by omitting the ``framework.profiler`` configuration
413413
entirely.
414414

0 commit comments

Comments
 (0)