Permalink
Browse files

minor #3713 Updated versionadded directives to use "introduced" (Wout…

…erJ)

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
  • Loading branch information...
weaverryan committed Mar 26, 2014
2 parents 06c56c1 + 2884f18 commit e7580c0110926585c892d76c0ff799bd7bcdc07e
Showing with 56 additions and 57 deletions.
  1. +4 −4 book/forms.rst
  2. +2 −2 book/routing.rst
  3. +3 −3 book/templating.rst
  4. +2 −2 components/class_loader/cache_class_loader.rst
  5. +1 −1 components/class_loader/class_loader.rst
  6. +1 −1 components/class_loader/debug_class_loader.rst
  7. +5 −5 components/console/helpers/dialoghelper.rst
  8. +2 −2 components/console/helpers/progresshelper.rst
  9. +1 −1 components/console/helpers/tablehelper.rst
  10. +1 −1 components/event_dispatcher/immutable_dispatcher.rst
  11. +2 −2 components/finder.rst
  12. +1 −1 components/form/introduction.rst
  13. +1 −1 components/http_foundation/introduction.rst
  14. +1 −2 components/intl.rst
  15. +5 −5 components/process.rst
  16. +1 −1 components/property_access/introduction.rst
  17. +1 −1 components/routing/hostname_pattern.rst
  18. +1 −1 components/routing/introduction.rst
  19. +2 −2 components/serializer.rst
  20. +1 −1 cookbook/doctrine/mapping_model_classes.rst
  21. +1 −1 cookbook/form/direct_submit.rst
  22. +1 −1 cookbook/form/dynamic_form_modification.rst
  23. +1 −1 cookbook/security/entity_provider.rst
  24. +1 −1 cookbook/session/php_bridge.rst
  25. +1 −1 cookbook/templating/namespaced_paths.rst
  26. +1 −1 reference/configuration/framework.rst
  27. +2 −2 reference/configuration/security.rst
  28. +1 −1 reference/constraints/Iban.rst
  29. +1 −1 reference/constraints/Isbn.rst
  30. +1 −1 reference/constraints/Issn.rst
  31. +1 −1 reference/constraints/Regex.rst
  32. +2 −2 reference/constraints/UniqueEntity.rst
  33. +1 −1 reference/forms/types/button.rst
  34. +1 −1 reference/forms/types/reset.rst
  35. +1 −1 reference/forms/types/submit.rst
  36. +1 −1 reference/twig_reference.rst
View
@@ -130,7 +130,7 @@ other things, determines which HTML form tag(s) is rendered for that field.
Finally, you added a submit button for submitting the form to the server.
.. versionadded:: 2.3
Support for submit buttons was added in Symfony 2.3. Before that, you had
Support for submit buttons was introduced in Symfony 2.3. Before that, you had
to add buttons to the form's HTML manually.
Symfony2 comes with many built-in types that will be discussed shortly
@@ -278,7 +278,7 @@ Submitting Forms with Multiple Buttons
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.3
Support for buttons in forms was added in Symfony 2.3.
Support for buttons in forms was introduced in Symfony 2.3.
When your form contains more than one submit button, you will want to check
which of the buttons was clicked to adapt the program flow in your controller.
@@ -478,7 +478,7 @@ Disabling Validation
~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.3
The ability to set ``validation_groups`` to false was added in Symfony 2.3.
The ability to set ``validation_groups`` to false was introduced in Symfony 2.3.
Sometimes it is useful to suppress the validation of a form altogether. For
these cases you can set the ``validation_groups`` option to ``false``::
@@ -548,7 +548,7 @@ Groups based on the Clicked Button
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.3
Support for buttons in forms was added in Symfony 2.3.
Support for buttons in forms was introduced in Symfony 2.3.
When your form contains multiple submit buttons, you can change the validation
group depending on which button is used to submit the form. For example,
View
@@ -720,7 +720,7 @@ Adding a Host Requirement
~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.2
Host matching support was added in Symfony 2.2
Host matching support was introduced in Symfony 2.2
You can also match on the HTTP *host* of the incoming request. For more
information, see :doc:`/components/routing/hostname_pattern` in the Routing
@@ -1075,7 +1075,7 @@ Adding a Host requirement to Imported Routes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.2
Host matching support was added in Symfony 2.2
Host matching support was introduced in Symfony 2.2
You can set the host regex on imported routes. For more information, see
:ref:`component-routing-host-imported`.
View
@@ -376,7 +376,7 @@ Template Naming and Locations
-----------------------------
.. versionadded:: 2.2
Namespaced path support was added in 2.2, allowing for template names
Namespaced path support was introduced in 2.2, allowing for template names
like ``@AcmeDemo/layout.html.twig``. See :doc:`/cookbook/templating/namespaced_paths`
for more details.
@@ -677,7 +677,7 @@ Asynchronous Content with hinclude.js
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.1
hinclude.js support was added in Symfony 2.1
hinclude.js support was introduced in Symfony 2.1
Controllers can be embedded asynchronously using the hinclude.js_ JavaScript library.
As the embedded content comes from another page (or controller for that matter),
@@ -786,7 +786,7 @@ in your application configuration:
));
.. versionadded:: 2.2
Default templates per render function was added in Symfony 2.2
Default templates per render function was introduced in Symfony 2.2
You can define default templates per ``render`` function (which will override
any global default template that is defined):
@@ -27,7 +27,7 @@ ApcClassLoader
--------------
.. versionadded:: 2.1
The ``ApcClassLoader`` class was added in Symfony 2.1.
The ``ApcClassLoader`` class was introduced in Symfony 2.1.
``ApcClassLoader`` wraps an existing class loader and caches calls to its
``findFile()`` method using `APC`_::
@@ -50,7 +50,7 @@ XcacheClassLoader
-----------------
.. versionadded:: 2.1
The ``XcacheClassLoader`` class was added in Symfony 2.1.
The ``XcacheClassLoader`` class was introduced in Symfony 2.1.
``XcacheClassLoader`` uses `XCache`_ to cache a class loader. Registering
it is straightforward::
@@ -5,7 +5,7 @@ The PSR-0 Class Loader
======================
.. versionadded:: 2.1
The ``ClassLoader`` class was added in Symfony 2.1.
The ``ClassLoader`` class was introduced in Symfony 2.1.
If your classes and third-party libraries follow the `PSR-0`_ standard, you
can use the :class:`Symfony\\Component\\ClassLoader\\ClassLoader` class to
@@ -5,7 +5,7 @@ Debugging a Class Loader
========================
.. versionadded:: 2.1
The ``DebugClassLoader`` class was added in Symfony 2.1.
The ``DebugClassLoader`` class was introduced in Symfony 2.1.
The :class:`Symfony\\Component\\ClassLoader\\DebugClassLoader` attempts to
throw more helpful exceptions when a class isn't found by the registered
@@ -60,7 +60,7 @@ Autocompletion
~~~~~~~~~~~~~~
.. versionadded:: 2.2
Autocompletion for questions was added in Symfony 2.2.
Autocompletion for questions was introduced in Symfony 2.2.
You can also specify an array of potential answers for a given question. These
will be autocompleted as the user types::
@@ -78,7 +78,7 @@ Hiding the User's Response
~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.2
The ``askHiddenResponse`` method was added in Symfony 2.2.
The ``askHiddenResponse`` method was introduced in Symfony 2.2.
You can also ask a question and hide the response. This is particularly
convenient for passwords::
@@ -148,7 +148,7 @@ Validating a Hidden Response
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. versionadded:: 2.2
The ``askHiddenResponseAndValidate`` method was added in Symfony 2.2.
The ``askHiddenResponseAndValidate`` method was introduced in Symfony 2.2.
You can also ask and validate a hidden response::
@@ -176,7 +176,7 @@ Let the user choose from a list of Answers
.. versionadded:: 2.2
The :method:`Symfony\\Component\\Console\\Helper\\DialogHelper::select` method
was added in Symfony 2.2.
was introduced in Symfony 2.2.
If you have a predefined set of answers the user can choose from, you
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
attempts. You can define your own error message in the sixth argument.
.. versionadded:: 2.3
Multiselect support was added in Symfony 2.3.
Multiselect support was introduced in Symfony 2.3.
Multiple Choices
................
@@ -5,10 +5,10 @@ Progress Helper
===============
.. versionadded:: 2.2
The ``progress`` helper was added in Symfony 2.2.
The ``progress`` helper was introduced in Symfony 2.2.
.. versionadded:: 2.3
The ``setCurrent`` method was added in Symfony 2.3.
The ``setCurrent`` method was introduced in Symfony 2.3.
When executing longer-running commands, it may be helpful to show progress
information, which updates as your command runs:
@@ -5,7 +5,7 @@ Table Helper
============
.. versionadded:: 2.3
The ``table`` helper was added in Symfony 2.3.
The ``table`` helper was introduced in Symfony 2.3.
When building a console application it may be useful to display tabular data:
@@ -5,7 +5,7 @@ The Immutable Event Dispatcher
==============================
.. versionadded:: 2.1
This feature was added in Symfony 2.1.
This feature was introduced in Symfony 2.1.
The :class:`Symfony\\Component\\EventDispatcher\\ImmutableEventDispatcher` is
a locked or frozen event dispatcher. The dispatcher cannot register new
View
@@ -83,7 +83,7 @@ Search in several locations by chaining calls to
$finder->files()->in(__DIR__)->in('/elsewhere');
.. versionadded:: 2.2
Wildcard support was added in version 2.2.
Wildcard support was introduced in version 2.2.
Use wildcard characters to search in the directories matching a pattern::
@@ -98,7 +98,7 @@ Exclude directories from matching with the
.. versionadded:: 2.3
The :method:`Symfony\\Component\\Finder\\Finder::ignoreUnreadableDirs`
method was added in Symfony 2.3.
method was introduced in Symfony 2.3.
It's also possible to ignore directories that you don't have permission to read::
@@ -67,7 +67,7 @@ Request Handling
~~~~~~~~~~~~~~~~
.. versionadded:: 2.3
The ``handleRequest()`` method was added in Symfony 2.3.
The ``handleRequest()`` method was introduced in Symfony 2.3.
To process form data, you'll need to call the :method:`Symfony\\Component\\Form\\Form::handleRequest`
method::
@@ -450,7 +450,7 @@ abstracts the hard work behind a simple API::
.. versionadded:: 2.2
The :class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`
class was added in Symfony 2.2.
class was introduced in Symfony 2.2.
Alternatively, if you are serving a static file, you can use a
:class:`Symfony\\Component\\HttpFoundation\\BinaryFileResponse`::
View
@@ -9,8 +9,7 @@ The Intl Component
access to the localization data of the `ICU library`_.
.. versionadded:: 2.3
The Intl component was added in Symfony 2.3. In earlier versions of Symfony,
The Intl component was introduced in Symfony 2.3. In earlier versions of Symfony,
you should use the Locale component instead.
.. caution::
View
@@ -65,7 +65,7 @@ anonymous function to the
});
.. versionadded:: 2.1
The non-blocking feature was added in 2.1.
The non-blocking feature was introduced in 2.1.
Running Processes Asynchronously
--------------------------------
@@ -112,7 +112,7 @@ Stopping a Process
------------------
.. versionadded:: 2.3
The ``signal`` parameter of the ``stop`` method was added in Symfony 2.3.
The ``signal`` parameter of the ``stop`` method was introduced in Symfony 2.3.
Any asynchronous process can be stopped at any time with the
: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
.. versionadded:: 2.3
The :method:`ProcessBuilder::setPrefix<Symfony\\Component\\Process\\ProcessBuilder::setPrefix>`
method was added in Symfony 2.3.
method was introduced in Symfony 2.3.
In case you are building a binary driver, you can use the
:method:`Symfony\\Component\\Process\\Process::setPrefix` method to prefix all
@@ -214,7 +214,7 @@ Process Signals
---------------
.. versionadded:: 2.3
The ``signal`` method was added in Symfony 2.3.
The ``signal`` method was introduced in Symfony 2.3.
When running a program asynchronously, you can send it posix signals with the
:method:`Symfony\\Component\\Process\\Process::signal` method::
@@ -240,7 +240,7 @@ Process Pid
-----------
.. versionadded:: 2.3
The ``getPid`` method was added in Symfony 2.3.
The ``getPid`` method was introduced in Symfony 2.3.
You can access the `pid`_ of a running process with the
:method:`Symfony\\Component\\Process\\Process::getPid` method.
@@ -216,7 +216,7 @@ enable this feature by using :class:`Symfony\\Component\\PropertyAccess\\Propert
echo $accessor->getValue($person, 'wouter'); // array(...)
.. versionadded:: 2.3
The use of magic ``__call()`` method was added in Symfony 2.3.
The use of magic ``__call()`` method was introduced in Symfony 2.3.
.. caution::
@@ -5,7 +5,7 @@ How to match a route based on the Host
======================================
.. versionadded:: 2.2
Host matching support was added in Symfony 2.2
Host matching support was introduced in Symfony 2.2
You can also match on the HTTP *host* of the incoming request.
@@ -94,7 +94,7 @@ A full route definition can contain up to seven parts:
``GET``, ``POST``, ...).
.. versionadded:: 2.2
Host matching support was added in Symfony 2.2
Host matching support was introduced in Symfony 2.2
Take the following route, which combines several of these ideas::
@@ -108,7 +108,7 @@ Ignoring Attributes when Serializing
.. versionadded:: 2.3
The :method:`GetSetMethodNormalizer::setIgnoredAttributes<Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer::setIgnoredAttributes>`
method was added in Symfony 2.3.
method was introduced in Symfony 2.3.
As an option, there's a way to ignore attributes from the origin object when
serializing. To remove those attributes use the
@@ -153,7 +153,7 @@ Using Camelized Method Names for Underscored Attributes
.. versionadded:: 2.3
The :method:`GetSetMethodNormalizer::setCamelizedAttributes<Symfony\\Component\\Serializer\\Normalizer\\GetSetMethodNormalizer::setCamelizedAttributes>`
method was added in Symfony 2.3.
method was introduced in Symfony 2.3.
Sometimes property names from the serialized content are underscored (e.g.
``first_name``). Normally, these attributes will use get/set methods like
@@ -17,7 +17,7 @@ register the mappings for your model classes.
just to get the auto mapping, use the compiler pass.
.. versionadded:: 2.3
The base mapping compiler pass was added in Symfony 2.3. The Doctrine bundles
The base mapping compiler pass was introduced in Symfony 2.3. The Doctrine bundles
support it from DoctrineBundle >= 1.2.1, MongoDBBundle >= 3.0.0,
PHPCRBundle >= 1.0.0-alpha2 and the (unversioned) CouchDBBundle supports the
compiler pass since the `CouchDB Mapping Compiler Pass pull request`_
@@ -6,7 +6,7 @@ How to use the submit() Function to handle Form Submissions
.. versionadded:: 2.3
The :method:`Symfony\\Component\\Form\\FormInterface::handleRequest`
method was added in Symfony 2.3.
method was introduced in Symfony 2.3.
With the ``handleRequest()`` method, it is really easy to handle form
submissions::
@@ -132,7 +132,7 @@ the event listener might look like the following::
.. versionadded:: 2.2
The ability to pass a string into
:method:`FormInterface::add <Symfony\\Component\\Form\\FormInterface::add>`
was added in Symfony 2.2.
was introduced in Symfony 2.2.
.. note::
You can of course use any callback type instead of a closure, e.g. a method
@@ -800,4 +800,4 @@ or worry about it.
.. versionadded:: 2.1
In Symfony 2.1, the ``equals`` method was removed from ``UserInterface``
and the ``EquatableInterface`` was added in its place.
and the ``EquatableInterface`` was introduced in its place.
@@ -5,7 +5,7 @@ Bridge a legacy application with Symfony Sessions
=================================================
.. versionadded:: 2.3
The ability to integrate with a legacy PHP session was added in Symfony 2.3.
The ability to integrate with a legacy PHP session was introduced in Symfony 2.3.
If you're integrating the Symfony full-stack Framework into a legacy application
that starts the session with ``session_start()``, you may still be able to
@@ -5,7 +5,7 @@ How to use and Register namespaced Twig Paths
=============================================
.. versionadded:: 2.2
Namespaced path support was added in 2.2.
Namespaced path support was introduced in 2.2.
Usually, when you refer to a template, you'll use the ``MyBundle:Subdir:filename.html.twig``
format (see :ref:`template-naming-locations`).
@@ -408,7 +408,7 @@ profiler
~~~~~~~~
.. versionadded:: 2.2
The ``enabled`` option was added in Symfony 2.2. Previously, the profiler
The ``enabled`` option was introduced in Symfony 2.2. Previously, the profiler
could only be disabled by omitting the ``framework.profiler`` configuration
entirely.
Oops, something went wrong.

0 comments on commit e7580c0

Please sign in to comment.