Skip to content

reword versionadded sentences a bit #11413

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion best_practices/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ through environment variables:
.. versionadded:: 3.2

Support for runtime environment variables via the ``%env(...)%`` syntax
was added in Symfony 3.2. Prior to version 3.2, you needed to use the
was introduced in Symfony 3.2. Prior to version 3.2, you needed to use the
:doc:`special SYMFONY__ variables </configuration/external_parameters>`.

----
Expand Down
2 changes: 1 addition & 1 deletion bundles/extension.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ I/O operations and increases the application performance.

.. versionadded:: 3.2

The ``addAnnotatedClassesToCompile()`` method was added in Symfony 3.2.
The ``addAnnotatedClassesToCompile()`` method was introduced in Symfony 3.2.

Your bundles can also add their own classes into this file thanks to the
``addClassesToCompile()`` and ``addAnnotatedClassesToCompile()`` methods (both
Expand Down
2 changes: 1 addition & 1 deletion components/config/definition.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ above, it is possible to have multiple connection arrays (containing a ``driver`

.. versionadded:: 3.3

The ``castToArray()`` helper was added in Symfony 3.3.
The ``castToArray()`` helper was introduced in Symfony 3.3.

Sometimes, to improve the user experience of your application or bundle, you may
allow to use a simple string or numeric value where an array value is required.
Expand Down
2 changes: 1 addition & 1 deletion components/dependency_injection/compilation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ been run, use::

.. versionadded:: 3.2

The option to prioritize compiler passes was added in Symfony 3.2.
The option to prioritize compiler passes was introduced in Symfony 3.2.

You can also control the order in which compiler passes are run for each
compilation phase. Use the optional third argument of ``addCompilerPass()`` to
Expand Down
2 changes: 1 addition & 1 deletion components/http_foundation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ class, which can make this even easier::
.. versionadded:: 3.2

The :method:`Symfony\\Component\\HttpFoundation\\JsonResponse::fromJsonString`
method was added in Symfony 3.2.
method was introduced in Symfony 3.2.

The ``JsonResponse`` class sets the ``Content-Type`` header to
``application/json`` and encodes your data to JSON when needed.
Expand Down
2 changes: 1 addition & 1 deletion components/process.rst
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ Use :method:`Symfony\\Component\\Process\\Process::disableOutput` and
.. versionadded:: 3.1

The ability to pass a callback to these methods when output is disabled
was added in Symfony 3.1.
was introduced in Symfony 3.1.

Finding the Executable PHP Binary
---------------------------------
Expand Down
2 changes: 1 addition & 1 deletion components/serializer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ There are several types of normalizers available:

.. versionadded:: 3.4

The ``DateIntervalNormalizer`` normalizer was added in Symfony 3.4.
The ``DateIntervalNormalizer`` normalizer was introduced in Symfony 3.4.

.. _component-serializer-encoders:

Expand Down
4 changes: 2 additions & 2 deletions contributing/documentation/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ describe how the behavior has changed:

.. versionadded:: 3.4

Support for annotation routing without an external bundle was added in
Symfony 3.4. Prior, you needed to install the SensioFrameworkExtraBundle.
Support for annotation routing without an external bundle was introduced
in Symfony 3.4. Prior, you needed to install the SensioFrameworkExtraBundle.

For a deprecation use the ``.. deprecated:: 3.X`` directive:

Expand Down
4 changes: 2 additions & 2 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ and many others that you'll learn about next.

.. versionadded:: 3.3

The ``AbstractController`` class was added in Symfony 3.3.
The ``AbstractController`` class was introduced in Symfony 3.3.

.. index::
single: Controller; Redirecting
Expand Down Expand Up @@ -252,7 +252,7 @@ Fetching Services as Controller Arguments
.. versionadded:: 3.3

The ability to type-hint a controller argument in order to receive a service
was added in Symfony 3.3.
was introduced in Symfony 3.3.

Symfony comes *packed* with a lot of useful objects, called :doc:`services </service_container>`.
These are used for rendering templates, sending emails, querying the database and
Expand Down
4 changes: 2 additions & 2 deletions service_container.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ service's class or interface name. Want to :doc:`log </logging>` something? No p

.. versionadded:: 3.3

The ability to type-hint a service in order to receive it was added in Symfony 3.3.
The ability to type-hint a service in order to receive it was introduced in Symfony 3.3.
See the :ref:`controller chapter <controller-service-arguments-tag>` for more
details.

Expand Down Expand Up @@ -794,7 +794,7 @@ The autoconfigure Option

.. versionadded:: 3.3

The ``autoconfigure`` option was added in Symfony 3.3.
The ``autoconfigure`` option was introduced in Symfony 3.3.

Above, the ``services.yml`` file has ``autoconfigure: true`` in the ``_defaults``
section so that it applies to all services defined in that file. With this setting,
Expand Down