Skip to content

Commit bbce3db

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Correct spelling & grammar in 4.4 translation/ Correct spelling & grammar in 4.4 validation/ Correct spelling & grammar in 4.4 templating/ Correct spelling & grammar in 4.4 setup/ Correct spelling & grammar in 4.4 service_container/ Correct spelling & grammar in 4.4 security/ Correct spelling & grammar in 4.4 routing/ Correct spelling & grammar in 4.4 quick_tour/ Correct spelling & grammar in 4.4 profiler/ Correct spelling & grammar in 4.4 messenger/ Correct spelling & grammar in 4.4 logging/ Correct spelling & grammar in 4.4 introduction/ Correct spelling & grammar in 4.4 http_cache/ Correct spelling & grammar in 4.4 frontend/
2 parents ecab2a2 + d59e4be commit bbce3db

29 files changed

+53
-54
lines changed

frontend/encore/advanced-config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Summarized, Encore generates the Webpack configuration that's used in your
55
``webpack.config.js`` file. Encore doesn't support adding all of Webpack's
66
`configuration options`_, because many can be added on your own.
77

8-
For example, suppose you need to resolve automatically a new extension.
8+
For example, suppose you need to automatically resolve a new extension.
99
To do that, modify the config after fetching it from Encore:
1010

1111
.. code-block:: javascript

frontend/encore/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ And the new ``assets/styles/app.css`` file:
168168
background-color: lightgray;
169169
}
170170
171-
You'll customize and learn more about these file in :doc:`/frontend/encore/simple-example`.
171+
You'll customize and learn more about these files in :doc:`/frontend/encore/simple-example`.
172172

173173
.. caution::
174174

frontend/encore/page-specific-assets.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ page-specific JavaScript and CSS file from a page-specific entry (e.g. ``checkou
2424
.. tip::
2525

2626
Be sure to use :doc:`split chunks </frontend/encore/split-chunks>`
27-
to avoid duplicating and shared code between your entry files.
27+
to avoid duplicate and shared code between your entry files.

frontend/encore/simple-example.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ file to ``app.scss`` and update the ``import`` statement:
282282
- import './styles/app.css';
283283
+ import './styles/app.scss';
284284
285-
Then, tell Encore to enable the Sass pre-processor:
285+
Then, tell Encore to enable the Sass preprocessor:
286286

287287
.. code-block:: diff
288288

http_cache/cache_invalidation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ to support the ``PURGE`` HTTP method::
9191

9292
**Purge** instructs the cache to drop a resource in *all its variants*
9393
(according to the ``Vary`` header, see :doc:`/http_cache/cache_vary`). An alternative to purging is
94-
**refreshing** a content. Refreshing means that the caching proxy is
94+
**refreshing** the content. Refreshing means that the caching proxy is
9595
instructed to discard its local cache and fetch the content again. This way,
9696
the new content is already available in the cache. The drawback of refreshing
9797
is that variants are not invalidated.

http_cache/ssi.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Symfony manages only the ``#include virtual`` one.
3333

3434
.. caution::
3535

36-
Be careful with SSI, your website may be victim of injections.
36+
Be careful with SSI, your website may fall victim to injections.
3737
Please read this `OWASP article`_ first!
3838

3939
When the web server reads an SSI directive, it requests the given URI or gives

http_cache/varnish.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ configuration of PHP, your session cookie has the name ``PHPSESSID``:
8989
set req.http.Cookie = regsuball(req.http.Cookie, "^[; ]+|[; ]+$", "");
9090
9191
if (req.http.Cookie == "") {
92-
// If there are no more cookies, remove the header to get page cached.
92+
// If there are no more cookies, remove the header to get the page cached.
9393
unset req.http.Cookie;
9494
}
9595
}

introduction/from_flat_php_to_symfony.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ have *many* controller functions: one for each page.
402402

403403
By now, the application has evolved from a single PHP file into a structure
404404
that is organized and allows for code reuse. You should be happier, but far
405-
from satisfied. For example, the routing system is fickle, and wouldn't
405+
from being satisfied. For example, the routing system is fickle, and wouldn't
406406
recognize that the list page - ``/index.php`` - should be accessible also via ``/``
407407
(if Apache rewrite rules were added). Also, instead of developing the blog,
408408
a lot of time is being spent working on the "architecture" of the code (e.g.

introduction/http_fundamentals.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,10 @@ have all the request information at your fingertips::
234234
$request->getMethod(); // e.g. GET, POST, PUT, DELETE or HEAD
235235
$request->getLanguages(); // an array of languages the client accepts
236236

237-
As a bonus, the ``Request`` class does a lot of work in the background that
238-
you'll never need to worry about. For example, the ``isSecure()`` method
237+
As a bonus, the ``Request`` class does a lot of work in the background about which
238+
you will never need to worry. For example, the ``isSecure()`` method
239239
checks the *three* different values in PHP that can indicate whether or not
240-
the user is connecting via a secured connection (i.e. HTTPS).
240+
the user is connecting via a secure connection (i.e. HTTPS).
241241

242242
Symfony Response Object
243243
~~~~~~~~~~~~~~~~~~~~~~~

logging/handlers.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ElasticsearchLogstashHandler
55
----------------------------
66

77
This handler deals directly with the HTTP interface of Elasticsearch. This means
8-
it will slow down your application if Elasticsearch takes times to answer. Even
8+
it will slow down your application if Elasticsearch takes time to answer. Even
99
if all HTTP calls are done asynchronously.
1010

1111
In a development environment, it's fine to keep the default configuration: for

0 commit comments

Comments
 (0)