Skip to content

Commit 4549d4b

Browse files
gnito-orgjaviereguiluz
authored andcommitted
Correct spelling & grammar in 4.4 reference/
1 parent 62c0653 commit 4549d4b

File tree

9 files changed

+25
-25
lines changed

9 files changed

+25
-25
lines changed

reference/configuration/framework.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ timeout
855855

856856
**type**: ``float`` **default**: depends on your PHP config
857857

858-
Time, in seconds, to wait for a response. If the response stales for longer, a
858+
Time, in seconds, to wait for a response. If the response takes longer, a
859859
:class:`Symfony\\Component\\HttpClient\\Exception\\TransportException` is thrown.
860860
Its default value is the same as the value of PHP's `default_socket_timeout`_
861861
config option.
@@ -1070,7 +1070,7 @@ when using ``.``, instead of matching only a single byte.
10701070

10711071
If the charset of your application is UTF-8 (as defined in the
10721072
:ref:`getCharset() method <configuration-kernel-charset>` of your kernel) it's
1073-
recommended to set it to ``true``. This will make non-UTF8 URLs to generate 404
1073+
recommended setting it to ``true``. This will make non-UTF8 URLs to generate 404
10741074
errors.
10751075

10761076
.. _config-framework-session:
@@ -1191,8 +1191,8 @@ cookie_samesite
11911191

11921192
**type**: ``string`` or ``null`` **default**: ``null``
11931193

1194-
It controls the way cookies are sent when the HTTP request was not originated
1195-
from the same domain the cookies are associated to. Setting this option is
1194+
It controls the way cookies are sent when the HTTP request did not originate
1195+
from the same domain that is associated with the cookies. Setting this option is
11961196
recommended to mitigate `CSRF security attacks`_.
11971197

11981198
By default, browsers send all cookies related to the domain of the HTTP request.
@@ -1210,7 +1210,7 @@ The possible values for this option are:
12101210
(previously this was the default behavior of null, but in newer browsers ``'lax'``
12111211
would be applied when the header has not been set)
12121212
* ``'strict'`` (or the ``Cookie::SAMESITE_STRICT`` constant), use it to never
1213-
send any cookie when the HTTP request is not originated from the same domain.
1213+
send any cookie when the HTTP request did not originate from the same domain.
12141214
* ``'lax'`` (or the ``Cookie::SAMESITE_LAX`` constant), use it to allow sending
12151215
cookies when the request originated from a different domain, but only when the
12161216
user consciously made the request (by clicking a link or submitting a form
@@ -1282,7 +1282,7 @@ sid_bits_per_character
12821282

12831283
**type**: ``integer`` **default**: ``4``
12841284

1285-
This determines the number of bits in encoded session ID character. The possible
1285+
This determines the number of bits in the encoded session ID character. The possible
12861286
values are ``4`` (0-9, a-f), ``5`` (0-9, a-v), and ``6`` (0-9, a-z, A-Z, "-", ",").
12871287
The more bits results in stronger session ID. ``5`` is recommended value for
12881288
most environments.
@@ -2134,7 +2134,7 @@ The service that is used to persist class metadata in a cache. The service
21342134
has to implement the :class:`Symfony\\Component\\Validator\\Mapping\\Cache\\CacheInterface`.
21352135

21362136
Set this option to ``validator.mapping.cache.doctrine.apc`` to use the APC
2137-
cache provide from the Doctrine project.
2137+
cache provided by the Doctrine project.
21382138

21392139
.. _reference-validation-enable_annotations:
21402140

@@ -2191,7 +2191,7 @@ By default, the :doc:`NotCompromisedPassword </reference/constraints/NotCompromi
21912191
constraint uses the public API provided by `haveibeenpwned.com`_. This option
21922192
allows to define a different, but compatible, API endpoint to make the password
21932193
checks. It's useful for example when the Symfony application is run in an
2194-
intranet without public access to Internet.
2194+
intranet without public access to the internet.
21952195

21962196
static_method
21972197
.............
@@ -2547,7 +2547,7 @@ A list of cache pools to be created by the framework extension.
25472547

25482548
.. seealso::
25492549

2550-
For more information about how pools works, see :ref:`cache pools <component-cache-cache-pools>`.
2550+
For more information about how pools work, see :ref:`cache pools <component-cache-cache-pools>`.
25512551

25522552
To configure a Redis cache pool with a default lifetime of 1 hour, do the following:
25532553

@@ -2656,8 +2656,8 @@ provider
26562656

26572657
Overwrite the default service name or DSN respectively, if you do not want to
26582658
use what is configured as ``default_X_provider`` under ``cache``. See the
2659-
description of the default provider setting above for the type of adapter
2660-
you use for information on how to specify the provider.
2659+
description of the default provider setting above for information on how to
2660+
specify your specific provider.
26612661

26622662
clearer
26632663
"""""""

reference/configuration/security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ access_denied_url
5151
**type**: ``string`` **default**: ``null``
5252

5353
Defines the URL where the user is redirected after a ``403`` HTTP error (unless
54-
you define a custom access deny handler). Example: ``/no-permission``
54+
you define a custom access denial handler). Example: ``/no-permission``
5555

5656
always_authenticate_before_granting
5757
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -297,7 +297,7 @@ password) so you don't have to deal with it.
297297
Using the "auto" Password Encoder
298298
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
299299

300-
It selects automatically the best possible encoder. Currently, it tries to use
300+
It automatically selects the best possible encoder. Currently, it tries to use
301301
Sodium by default and falls back to the `bcrypt password hashing function`_ if
302302
not possible. In the future, when PHP adds new hashing techniques, it may use
303303
different password hashers.
@@ -452,7 +452,7 @@ This is the route or path that the user will be redirected to (unless ``use_forw
452452
is set to ``true``) when they try to access a protected resource but isn't
453453
fully authenticated.
454454

455-
This path **must** be accessible by a normal, un-authenticated user, else
455+
This path **must** be accessible by a normal, unauthenticated user, else
456456
you may create a redirect loop.
457457

458458
check_path

reference/configuration/swiftmailer.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ local_domain
106106

107107
The ``local_domain`` option was introduced in SwiftMailerBundle 2.4.0.
108108

109-
The domain name to use in ``HELO`` command.
109+
The domain name to use in the ``HELO`` command.
110110

111111
encryption
112112
~~~~~~~~~~
@@ -172,7 +172,7 @@ sleep
172172
**type**: ``integer`` **default**: ``0``
173173

174174
Used with ``Swift_Plugins_AntiFloodPlugin``. This is the number of seconds
175-
to sleep for during a transport restart.
175+
to sleep during a transport restart.
176176

177177
.. _delivery-address:
178178

reference/configuration/twig.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ format
129129
**type**: ``string`` **default**: ``F j, Y H:i``
130130

131131
The format used by the ``date`` filter to display values when no specific format
132-
is passed as argument.
132+
is passed as an argument.
133133

134134
interval_format
135135
...............
@@ -145,7 +145,7 @@ timezone
145145
**type**: ``string`` **default**: (the value returned by ``date_default_timezone_get()``)
146146

147147
The timezone used when formatting date values with the ``date`` filter and no
148-
specific timezone is passed as argument.
148+
specific timezone is passed as an argument.
149149

150150
debug
151151
~~~~~

reference/constraints/Callback.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ You can then use the following configuration to invoke this validator:
222222

223223
The Callback constraint does *not* support global callback functions
224224
nor is it possible to specify a global function or a service method
225-
as callback. To validate using a service, you should
225+
as a callback. To validate using a service, you should
226226
:doc:`create a custom validation constraint </validation/custom_constraint>`
227227
and add that new constraint to your class.
228228

reference/constraints/DateTime.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Options
8585

8686
**type**: ``string`` **default**: ``Y-m-d H:i:s``
8787

88-
This option allows to validate a custom date format. See
88+
This option allows you to validate a custom date format. See
8989
:phpmethod:`DateTime::createFromFormat` for formatting options.
9090

9191
.. include:: /reference/constraints/_groups-option.rst.inc

reference/constraints/_comparison-value-option.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
**type**: ``mixed`` [:ref:`default option <validation-default-option>`]
55

6-
This option is required. It defines the value to compare to. It can be a
6+
This option is required. It defines the comparison value. It can be a
77
string, number or object.

reference/constraints/_groups-option.rst.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
**type**: ``array`` | ``string``
55

6-
It defines the validation group or groups this constraint belongs to. Read more
6+
It defines the validation group or groups of this constraint. Read more
77
about :doc:`validation groups </validation/groups>`.

reference/dic_tags.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ are propagated to their related listeners.
166166

167167
It will replace, in cache for generated service factories, the PHP autoload by
168168
plain inlined ``include_once``. The benefit is a complete bypass of the autoloader
169-
for services and their class hierarchy. The result is as significant performance improvement.
169+
for services and their class hierarchy. The result is a significant performance improvement.
170170

171171
Use this tag with great caution, you have to be sure that the tagged service is always used.
172172

@@ -246,7 +246,7 @@ kernel.cache_clearer
246246
process
247247

248248
Cache clearing occurs whenever you call ``cache:clear`` command. If your
249-
bundle caches files, you should add custom cache clearer for clearing those
249+
bundle caches files, you should add a custom cache clearer for clearing those
250250
files during the cache clearing process.
251251

252252
In order to register your custom cache clearer, first you must create a
@@ -1157,7 +1157,7 @@ twig.runtime
11571157
**Purpose**: To register a custom Lazy-Loaded Twig Extension
11581158

11591159
:ref:`Lazy-Loaded Twig Extensions <lazy-loaded-twig-extensions>` are defined as
1160-
regular services but the need to be tagged with ``twig.runtime``. If you're using the
1160+
regular services but they need to be tagged with ``twig.runtime``. If you're using the
11611161
:ref:`default services.yaml configuration <service-container-services-load-example>`,
11621162
the service is auto-registered and auto-tagged. But, you can also register it manually:
11631163

0 commit comments

Comments
 (0)