Skip to content

Commit 93a189e

Browse files
Fix grammar and expressions for better American English in Symfony docs
Co-authored-by: javiereguiluz <73419+javiereguiluz@users.noreply.github.com>
1 parent 280d14d commit 93a189e

14 files changed

+18
-19
lines changed

cache.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,11 @@ You can read more about these at the :doc:`component documentation </components/
3232
Configuring Cache with FrameworkBundle
3333
--------------------------------------
3434

35-
When configuring the cache component there are a few concepts you should know
36-
of:
35+
When configuring the cache component there are a few concepts you should know:
3736

3837
**Pool**
3938
This is a service that you will interact with. Each pool will always have
40-
its own namespace and cache items. There is never a conflict between pools.
39+
its own namespace and cache items. There are never conflicts between pools.
4140
**Adapter**
4241
An adapter is a *template* that you use to create pools.
4342
**Provider**

configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ example, this is the default file created by the "API Platform" bundle:
3737
mapping:
3838
paths: ['%kernel.project_dir%/src/Entity']
3939
40-
Splitting the configuration into lots of small files might appear intimidating for some
40+
Splitting the configuration into lots of small files might seem intimidating to some
4141
Symfony newcomers. However, you'll get used to them quickly and you rarely need
4242
to change these files after package installation.
4343

controller.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class::
4141
The controller is the ``number()`` method, which lives inside the
4242
controller class ``LuckyController``.
4343

44-
This controller is pretty straightforward:
44+
This controller is quite simple:
4545

4646
* *line 2*: Symfony takes advantage of PHP's namespace functionality to
4747
namespace the entire controller class.

event_dispatcher.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ A ``kernel.controller`` (aka ``KernelEvents::CONTROLLER``) listener gets notifie
509509
on *every* request, right before the controller is executed. So, first, you need
510510
some way to identify if the controller that matches the request needs token validation.
511511

512-
A clean and easy way is to create an empty interface and make the controllers
512+
A clean and simple way is to create an empty interface and make the controllers
513513
implement it::
514514

515515
namespace App\Controller;

http_cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The Symfony cache system is different because it relies on the simplicity
1919
and power of the HTTP cache as defined in `RFC 7234 - Caching`_. Instead of
2020
reinventing a caching methodology, Symfony embraces the standard that defines
2121
basic communication on the Web. Once you understand the fundamental HTTP
22-
validation and expiration caching models, you'll be ready to master the Symfony
22+
validation and expiration caching models, you'll be ready to understand the Symfony
2323
cache system.
2424

2525
Since caching with HTTP isn't unique to Symfony, many articles already exist

mailer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
157157
158158
The ``MAILER_DSN`` isn't a *real* address: it's a convenient format that
159159
offloads most of the configuration work to mailer. The ``sendgrid`` scheme
160-
activates the SendGrid provider that you just installed, which knows all about
160+
activates the SendGrid provider that you installed, which knows all about
161161
how to deliver messages via SendGrid. The *only* part you need to change is the
162162
``KEY`` placeholder.
163163

mercure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ notifying the user when :doc:`an asynchronous job </messenger>` has been
1111
completed or creating chat applications are among the typical use cases
1212
requiring "push" capabilities.
1313

14-
Symfony provides a straightforward component, built on top of
14+
Symfony provides a simple component, built on top of
1515
`the Mercure protocol`_, specifically designed for this class of use cases.
1616

1717
Mercure is an open protocol designed from the ground up to publish updates from

messenger.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Messenger: Sync & Queued Message Handling
33

44
Messenger provides a message bus with the ability to send messages and then
55
handle them immediately in your application or send them through transports
6-
(e.g. queues) to be handled later. To learn more deeply about it, read the
6+
(e.g. queues) to be handled later. To learn more about it, read the
77
:doc:`Messenger component docs </components/messenger>`.
88

99
Installation

page_creation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,10 +273,10 @@ when needed.
273273
What's Next?
274274
------------
275275

276-
Congrats! You're already starting to master Symfony and learn a whole new
276+
Congrats! You're already starting to learn Symfony and discover a whole new
277277
way of building beautiful, functional, fast and maintainable applications.
278278

279-
OK, time to finish mastering the fundamentals by reading these articles:
279+
OK, time to finish learning the fundamentals by reading these articles:
280280

281281
* :doc:`/routing`
282282
* :doc:`/controller`

routing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ because it's convenient to put the route and controller in the same place.
2323
Creating Routes as Attributes
2424
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2525

26-
PHP attributes allow to define routes next to the code of the
26+
PHP attributes allow you to define routes next to the code of the
2727
:doc:`controllers </controller>` associated to those routes.
2828

2929
You need to add a bit of configuration to your project before using them. If your

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ creates a ``security.yaml`` configuration file for you:
4343
# https://symfony.com/doc/current/security/impersonating_user.html
4444
# switch_user: true
4545
46-
# Easy way to control access for large sections of your site
46+
# An easy way to control access for large sections of your site
4747
# Note: Only the *first* access control that matches will be used
4848
access_control:
4949
# - { path: ^/admin, roles: ROLE_ADMIN }

testing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Types of Tests
1616
There are many types of automated tests and precise definitions often
1717
differ from project to project. In Symfony, the following definitions are
1818
used. If you have learned something different, that is not necessarily
19-
wrong, just different from what the Symfony documentation is using.
19+
wrong, merely different from what the Symfony documentation is using.
2020

2121
`Unit Tests`_
2222
These tests ensure that *individual* units of source code (e.g. a single
@@ -402,11 +402,11 @@ test finishes to undo all changes. Read more in the documentation of the
402402

403403
.. _doctrine-fixtures:
404404

405-
Load Dummy Data Fixtures
405+
Load Test Data Fixtures
406406
........................
407407

408408
Instead of using the real data from the production database, it's common to
409-
use fake or dummy data in the test database. This is usually called
409+
use fake or test data in the test database. This is usually called
410410
*"fixtures data"* and Doctrine provides a library to create and load them.
411411
Install it with:
412412

translation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
733733
734734
The ``LOCO_DSN`` isn't a *real* address: it's a convenient format that offloads
735735
most of the configuration work to Symfony. The ``loco`` scheme activates the
736-
Loco provider that you just installed, which knows all about how to push and
736+
Loco provider that you installed, which knows all about how to push and
737737
pull translations via Loco. The *only* part you need to change is the
738738
``API_KEY`` placeholder.
739739

workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Workflow
22
========
33

4-
Using the Workflow component inside a Symfony application requires knowing first
4+
Using the Workflow component inside a Symfony application requires first knowing
55
some basic theory and concepts about workflows and state machines.
66
:doc:`Read this article </workflow/workflow-and-state-machine>` for a quick overview.
77

0 commit comments

Comments
 (0)