Skip to content

Commit aa71d6d

Browse files
committed
Fix grammar
1 parent 9aa14a5 commit aa71d6d

38 files changed

+64
-64
lines changed

bundles/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Doctrine Entities/Documents
169169

170170
If the bundle includes Doctrine ORM entities and/or ODM documents, it's
171171
recommended to define their mapping using XML files stored in
172-
``config/doctrine/``. This allows to override that mapping using the
172+
``config/doctrine/``. This allows you to override that mapping using the
173173
:doc:`standard Symfony mechanism to override bundle parts </bundles/override>`.
174174
This is not possible when using attributes to define the mapping.
175175

bundles/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class, you can add all the logic related to processing the configuration in that
111111

112112
.. tip::
113113

114-
The ``AbstractBundle::configure()`` method also allows to import the
114+
The ``AbstractBundle::configure()`` method also allows you to import the
115115
configuration definition from one or more files::
116116

117117
// src/AcmeSocialBundle.php

components/asset.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ simple. Hardcoding URLs can be a disadvantage because:
2828
versioning strategies for each package;
2929
* **Moving assets' location** is cumbersome and error-prone: it requires you to
3030
carefully update the URLs of all assets included in all templates. The Asset
31-
component allows to move assets effortlessly just by changing the base path
31+
component allows you to move assets effortlessly just by changing the base path
3232
value associated with the package of assets;
3333
* **It's nearly impossible to use multiple CDNs**: this technique requires
3434
you to change the URL of the asset randomly for each request. The Asset component
@@ -382,7 +382,7 @@ they all have different base paths::
382382

383383
$packages = new Packages($defaultPackage, $namedPackages);
384384

385-
The ``Packages`` class allows to define a default package, which will be applied
385+
The ``Packages`` class allows you to define a default package, which will be applied
386386
to assets that don't define the name of the package to use. In addition, this
387387
application defines a package named ``img`` to serve images from an external
388388
domain and a ``doc`` package to avoid repeating long paths when linking to a

components/browser_kit.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ provides access to the link properties (e.g. ``$link->getMethod()``,
121121
The :method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::click` and
122122
:method:`Symfony\\Component\\BrowserKit\\AbstractBrowser::clickLink` methods
123123
can take an optional ``serverParameters`` argument. This
124-
parameter allows to send additional information like headers when clicking
124+
parameter allows you to send additional information like headers when clicking
125125
on a link::
126126

127127
use Acme\Client;

components/clock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Usage
3636
-----
3737

3838
The :class:`Symfony\\Component\\Clock\\Clock` class returns the current time and
39-
allows to use any `PSR-20`_ compatible implementation as a global clock in your
39+
allows you to use any `PSR-20`_ compatible implementation as a global clock in your
4040
application::
4141

4242
use Symfony\Component\Clock\Clock;

components/event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ determine which instance is passed.
193193
->addTag('kernel.event_subscriber');
194194

195195
``RegisterListenersPass`` resolves aliased class names which for instance
196-
allows to refer to an event via the fully qualified class name (FQCN) of the
196+
allows you to refer to an event via the fully qualified class name (FQCN) of the
197197
event class. The pass will read the alias mapping from a dedicated container
198198
parameter. This parameter can be extended by registering another compiler pass,
199199
``AddEventAliasesPass``::

components/http_foundation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ Streaming a JSON Response
726726
The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` class was
727727
introduced in Symfony 6.3.
728728

729-
The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` allows to
729+
The :class:`Symfony\\Component\\HttpFoundation\\StreamedJsonResponse` allows you to
730730
stream large JSON responses using PHP generators to keep the used resources low.
731731

732732
The class constructor expects an array which represents the JSON structure and

components/http_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ applications. One of the key features of the bundles is that you can use logic
747747
paths instead of physical paths to refer to any of their resources (config files,
748748
templates, controllers, translation files, etc.)
749749

750-
This allows to import resources even if you don't know where in the filesystem a
750+
This allows you to import resources even if you don't know where in the filesystem a
751751
bundle will be installed. For example, the ``services.xml`` file stored in the
752752
``Resources/config/`` directory of a bundle called FooBundle can be referenced as
753753
``@FooBundle/Resources/config/services.xml`` instead of ``__DIR__/Resources/config/services.xml``.

components/mime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ indicates its priority, so the first returned extension is the preferred one.
246246
Guessing the MIME Type
247247
~~~~~~~~~~~~~~~~~~~~~~
248248

249-
Another useful utility allows to guess the MIME type of any given file::
249+
Another useful utility allows you to guess the MIME type of any given file::
250250

251251
use Symfony\Component\Mime\MimeTypes;
252252

components/phpunit_bridge.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ It comes with the following features:
2525
#. running tests in parallel when a test suite is split in several phpunit.xml files;
2626
#. recording and replaying skipped tests;
2727

28-
* It allows to create tests that are compatible with multiple PHPUnit versions
28+
* It allows you to create tests that are compatible with multiple PHPUnit versions
2929
(because it provides polyfills for missing methods, namespaced aliases for
3030
non-namespaced classes, etc.).
3131

0 commit comments

Comments
 (0)