Skip to content

Commit 3f15a51

Browse files
committed
Merge branch '4.2' into 4.3
* 4.2: Fix many typos and improve grammar
2 parents 85347ad + 8dd96b9 commit 3f15a51

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+67
-67
lines changed

_build/maintainer_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ interface. Then:
9393
Merging Process
9494
~~~~~~~~~~~~~~~
9595

96-
At first it's common to make mistakes and merge things badly. Don't worry. This
96+
At first, it's common to make mistakes and merge things badly. Don't worry. This
9797
has happened to all of us and we've always been able to recover from any mistake.
9898

9999
Step 1: Select the right branch to merge

best_practices/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ that fit the philosophy of the framework as envisioned by its original creator
2525

2626
.. note::
2727

28-
**Best practice** is a noun that means *"a well defined procedure that is
28+
**Best practice** is a noun that means *"a well-defined procedure that is
2929
known to produce near-optimum results"*. And that's exactly what this
3030
guide aims to provide. Even if you don't agree with every recommendation,
3131
we believe these will help you build great applications with less complexity.

bundles/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ Providing an XML Schema
381381

382382
XML has a very useful feature called `XML schema`_. This allows you to
383383
describe all possible elements and attributes and their values in an XML Schema
384-
Definition (an xsd file). This XSD file is used by IDEs for auto completion and
384+
Definition (an XSD file). This XSD file is used by IDEs for auto completion and
385385
it is used by the Config component to validate the elements.
386386

387387
In order to use the schema, the XML configuration file must provide an

components/asset.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ simple. Hardcoding URLs can be a disadvantage because:
3030
is essential for some applications because it allows you to control how
3131
the assets are cached. The Asset component allows you to define different
3232
versioning strategies for each package;
33-
* **Moving assets location** is cumbersome and error-prone: it requires you to
33+
* **Moving assets' location** is cumbersome and error-prone: it requires you to
3434
carefully update the URLs of all assets included in all templates. The Asset
3535
component allows to move assets effortlessly just by changing the base path
3636
value associated with the package of assets;
@@ -302,7 +302,7 @@ constructor::
302302
// result: http://static2.example.com/images/icon.png?v1
303303

304304
For each asset, one of the URLs will be randomly used. But, the selection
305-
is deterministic, meaning that each asset will be always served by the same
305+
is deterministic, meaning that each asset will always be served by the same
306306
domain. This behavior simplifies the management of HTTP cache.
307307

308308
Request Context Aware Assets

components/cache.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Now you can create, retrieve, update and delete items using this cache pool::
182182
// retrieve the cache item
183183
$productsCount = $cache->getItem('stats.products_count');
184184
if (!$productsCount->isHit()) {
185-
// ... item does not exists in the cache
185+
// ... item does not exist in the cache
186186
}
187187
// retrieve the value stored by the item
188188
$total = $productsCount->get();

components/cache/adapters/memcached_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Available Options
241241

242242
``server_failure_limit`` (type: ``int``, default: ``0``)
243243
Specifies the failure limit for server connection attempts before marking
244-
the server as "dead". The server will remaining in the server pool unless
244+
the server as "dead". The server will remain in the server pool unless
245245
``auto_eject_hosts`` is enabled.
246246

247247
Valid option values include *any positive integer*.

components/cache/cache_invalidation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ change in the state of your model. The most basic kind of invalidation is direct
1010
items deletion. But when the state of a primary resource has spread across
1111
several cached items, keeping them in sync can be difficult.
1212

13-
The Symfony Cache component provides two mechanisms to help solving this problem:
13+
The Symfony Cache component provides two mechanisms to help solve this problem:
1414

1515
* :ref:`Tags-based invalidation <cache-component-tags>` for managing data dependencies;
1616
* :ref:`Expiration based invalidation <cache-component-expiration>` for time-related dependencies.

components/cache/cache_items.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ corresponding *getter* methods::
6767
Cache Item Expiration
6868
~~~~~~~~~~~~~~~~~~~~~
6969

70-
By default cache items are stored permanently. In practice, this "permanent
70+
By default, cache items are stored permanently. In practice, this "permanent
7171
storage" can vary greatly depending on the type of cache being used, as
7272
explained in the :doc:`/components/cache/cache_pools` article.
7373

components/cache/cache_pools.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Cache Pools and Supported Adapters
1616

1717
Cache Pools are the logical repositories of cache items. They perform all the
1818
common operations on items, such as saving them or looking for them. Cache pools
19-
are independent from the actual cache implementation. Therefore, applications
19+
are independent of the actual cache implementation. Therefore, applications
2020
can keep using the same cache pool even if the underlying cache mechanism
2121
changes from a file system based cache to a Redis or database based cache.
2222

components/config/definition.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ For all nodes:
531531
Appending Sections
532532
------------------
533533

534-
If you have a complex configuration to validate then the tree can grow to
534+
If you have a complex configuration to validate, then the tree can grow to
535535
be large and you may want to split it up into sections. You can do this
536536
by making a section a separate node and then appending it into the main
537537
tree with ``append()``::
@@ -702,8 +702,8 @@ and sometimes only:
702702
703703
<connection>default</connection>
704704
705-
By default ``connection`` would be an array in the first case and a string
706-
in the second making it difficult to validate. You can ensure it is always
705+
By default, ``connection`` would be an array in the first case and a string
706+
in the second, making it difficult to validate. You can ensure it is always
707707
an array with ``fixXmlConfig()``.
708708

709709
You can further control the normalization process if you need to. For example,

0 commit comments

Comments
 (0)