Skip to content

Commit

Permalink
Merge branch '2.4'
Browse files Browse the repository at this point in the history
Conflicts:
	book/routing.rst
	book/templating.rst
	components/console/helpers/dialoghelper.rst
	components/console/helpers/progresshelper.rst
	components/finder.rst
	components/http_foundation/introduction.rst
	components/routing/hostname_pattern.rst
	components/routing/introduction.rst
	cookbook/form/dynamic_form_modification.rst
	cookbook/templating/namespaced_paths.rst
	reference/configuration/framework.rst
	reference/configuration/security.rst
  • Loading branch information
weaverryan committed Mar 26, 2014
2 parents 72d40a8 + a849123 commit 8e6e550
Show file tree
Hide file tree
Showing 21 changed files with 28 additions and 29 deletions.
8 changes: 4 additions & 4 deletions book/forms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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``::
Expand Down Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion components/console/helpers/dialoghelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,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
................
Expand Down
2 changes: 1 addition & 1 deletion components/console/helpers/progresshelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Progress Helper
===============

.. versionadded:: 2.3
The ``setCurrent`` method was added in Symfony 2.3.
The ``setCurrent`` method was introduced in Symfony 2.3.

.. versionadded:: 2.4
The ``clear`` method was added in Symfony 2.4.
Expand Down
2 changes: 1 addition & 1 deletion components/console/helpers/tablehelper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

.. caution::

Expand Down
2 changes: 1 addition & 1 deletion components/finder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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::

Expand Down
2 changes: 1 addition & 1 deletion components/form/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
3 changes: 1 addition & 2 deletions components/intl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
8 changes: 4 additions & 4 deletions components/process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,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
Expand Down Expand Up @@ -154,7 +154,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
Expand Down Expand Up @@ -235,7 +235,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::
Expand All @@ -261,7 +261,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.
Expand Down
2 changes: 1 addition & 1 deletion components/property_access/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,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::

Expand Down
2 changes: 1 addition & 1 deletion components/security/authorization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ method::

$roleVoter = new RoleVoter('ROLE_');

$roleVoter->vote($token, $object, 'ROLE_ADMIN');
$roleVoter->vote($token, $object, array('ROLE_ADMIN'));

RoleHierarchyVoter
~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cookbook/doctrine/mapping_model_classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`_
Expand Down
2 changes: 1 addition & 1 deletion cookbook/form/direct_submit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::
Expand Down
2 changes: 1 addition & 1 deletion cookbook/security/entity_provider.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion cookbook/session/php_bridge.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Iban.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Iban
====

.. versionadded:: 2.3
The Iban constraint was added in Symfony 2.3.
The Iban constraint was introduced in Symfony 2.3.

This constraint is used to ensure that a bank account number has the proper format of
an `International Bank Account Number (IBAN)`_. IBAN is an internationally agreed means
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Isbn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Isbn
====

.. versionadded:: 2.3
The Isbn constraint was added in Symfony 2.3.
The Isbn constraint was introduced in Symfony 2.3.

This constraint validates that an `International Standard Book Number (ISBN)`_
is either a valid ISBN-10, a valid ISBN-13 or both.
Expand Down
2 changes: 1 addition & 1 deletion reference/constraints/Issn.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Issn
====

.. versionadded:: 2.3
The Issn constraint was added in Symfony 2.3.
The Issn constraint was introduced in Symfony 2.3.

Validates that a value is a valid `International Standard Serial Number (ISSN)`_.

Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/button.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ button Field Type
=================

.. versionadded:: 2.3
The ``button`` type was added in Symfony 2.3
The ``button`` type was introduced in Symfony 2.3

A simple, non-responsive button.

Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/reset.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ reset Field Type
================

.. versionadded:: 2.3
The ``reset`` type was added in Symfony 2.3
The ``reset`` type was introduced in Symfony 2.3

A button that resets all fields to their original values.

Expand Down
2 changes: 1 addition & 1 deletion reference/forms/types/submit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ submit Field Type
=================

.. versionadded:: 2.3
The ``submit`` type was added in Symfony 2.3
The ``submit`` type was introduced in Symfony 2.3

A submit button.

Expand Down

0 comments on commit 8e6e550

Please sign in to comment.