From 65b24d6fcadb1f8a855aa4769151d985c4a25e49 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 11 Apr 2019 21:51:26 +0200 Subject: [PATCH] reword versionadded sentences a bit --- best_practices/configuration.rst | 2 +- bundles/extension.rst | 2 +- components/config/definition.rst | 2 +- components/dependency_injection/compilation.rst | 2 +- components/http_foundation.rst | 2 +- components/process.rst | 2 +- components/serializer.rst | 2 +- contributing/documentation/format.rst | 4 ++-- controller.rst | 4 ++-- service_container.rst | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/best_practices/configuration.rst b/best_practices/configuration.rst index 87e8a5f7ef5..677d79bdbc2 100644 --- a/best_practices/configuration.rst +++ b/best_practices/configuration.rst @@ -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 `. ---- diff --git a/bundles/extension.rst b/bundles/extension.rst index 3d7c2fc912d..5b8c3e4cd50 100644 --- a/bundles/extension.rst +++ b/bundles/extension.rst @@ -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 diff --git a/components/config/definition.rst b/components/config/definition.rst index 82feda36aaf..fe392215795 100644 --- a/components/config/definition.rst +++ b/components/config/definition.rst @@ -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. diff --git a/components/dependency_injection/compilation.rst b/components/dependency_injection/compilation.rst index b67acaf15b3..a48711652af 100644 --- a/components/dependency_injection/compilation.rst +++ b/components/dependency_injection/compilation.rst @@ -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 diff --git a/components/http_foundation.rst b/components/http_foundation.rst index 7fd52b13ffe..c959f4e8a65 100644 --- a/components/http_foundation.rst +++ b/components/http_foundation.rst @@ -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. diff --git a/components/process.rst b/components/process.rst index dbb8a596209..ee536512846 100644 --- a/components/process.rst +++ b/components/process.rst @@ -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 --------------------------------- diff --git a/components/serializer.rst b/components/serializer.rst index d653c8acec6..19fe6ff74f5 100644 --- a/components/serializer.rst +++ b/components/serializer.rst @@ -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: diff --git a/contributing/documentation/format.rst b/contributing/documentation/format.rst index cba54c25935..9fcdebd69f7 100644 --- a/contributing/documentation/format.rst +++ b/contributing/documentation/format.rst @@ -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: diff --git a/controller.rst b/controller.rst index b7a4a440c9a..266db541ac5 100644 --- a/controller.rst +++ b/controller.rst @@ -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 @@ -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 `. These are used for rendering templates, sending emails, querying the database and diff --git a/service_container.rst b/service_container.rst index 2c8399812d0..f64b8e64bd5 100644 --- a/service_container.rst +++ b/service_container.rst @@ -50,7 +50,7 @@ service's class or interface name. Want to :doc:`log ` 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 ` for more details. @@ -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,