Skip to content

Commit 66a1200

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Correct spelling & grammar in 4.4 testing.rst Ask to open PRs for new features in 6.x Correct spelling & grammar in 4.4 controller/ Correct spelling & grammar in 4.4 configuration/ Correct spelling & grammar in 4.4 components/yaml/ Correct spelling & grammar in 4.4 components/security/ Correct spelling & grammar in 4.4 components/http_foundation/ Correct spelling & grammar in 4.4 components/cache/ Correct spelling & grammar in 4.4 logging.rst Correct spelling & grammar in 4.4 lock.rst Correct spelling & grammar in 4.4 http_client.rst Correct spelling & grammar in 4.4 http_cache.rst
2 parents bbce3db + 604873f commit 66a1200

16 files changed

+27
-27
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ If your pull request fixes a BUG, use the oldest maintained branch that contains
44
the bug (see https://symfony.com/releases for the list of maintained branches).
55
66
If your pull request documents a NEW FEATURE, use the same Symfony branch where
7-
the feature was introduced (and `5.x` for features of unreleased versions).
7+
the feature was introduced (and `6.x` for features of unreleased versions).
88
99
-->

components/cache/adapters/php_array_cache_adapter.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PHP Array Cache Adapter
77

88
This adapter is a high performance cache for static data (e.g. application configuration)
99
that is optimized and preloaded into OPcache memory storage. It is suited for any data that
10-
is mostly read-only after warmup::
10+
is mostly read-only after warm-up::
1111

1212
use Symfony\Component\Cache\Adapter\FilesystemAdapter;
1313
use Symfony\Component\Cache\Adapter\PhpArrayAdapter;
@@ -23,7 +23,7 @@ is mostly read-only after warmup::
2323
$cache = new PhpArrayAdapter(
2424
// single file where values are cached
2525
__DIR__ . '/somefile.cache',
26-
// a backup adapter, if you set values after warmup
26+
// a backup adapter, if you set values after warm-up
2727
new FilesystemAdapter()
2828
);
2929
$cache->warmUp($values);

components/cache/adapters/redis_adapter.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ try to add data when no memory is available. An example setting could look as fo
205205
maxmemory 100mb
206206
maxmemory-policy allkeys-lru
207207
208-
Read more about this topic in the offical `Redis LRU Cache Documentation`_.
208+
Read more about this topic in the official `Redis LRU Cache Documentation`_.
209209

210210
.. _`Data Source Name (DSN)`: https://en.wikipedia.org/wiki/Data_source_name
211211
.. _`Redis server`: https://redis.io/

components/cache/cache_invalidation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Cache Invalidation
77

88
Cache invalidation is the process of removing all cached items related to a
99
change in the state of your model. The most basic kind of invalidation is direct
10-
items deletion. But when the state of a primary resource has spread across
10+
item deletion. But when the state of a primary resource has spread across
1111
several cached items, keeping them in sync can be difficult.
1212

1313
The Symfony Cache component provides two mechanisms to help solve this problem:
@@ -47,7 +47,7 @@ you can invalidate the cached items by calling
4747
// if you know the cache key, you can also delete the item directly
4848
$cache->delete('cache_key');
4949

50-
Using tags invalidation is very useful when tracking cache keys becomes difficult.
50+
Using tag invalidation is very useful when tracking cache keys becomes difficult.
5151

5252
Tag Aware Adapters
5353
~~~~~~~~~~~~~~~~~~

components/http_foundation/sessions.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Quick example::
5353
.. caution::
5454

5555
Symfony sessions are incompatible with ``php.ini`` directive ``session.auto_start = 1``
56-
This directive should be turned off in ``php.ini``, in the webserver directives or
56+
This directive should be turned off in ``php.ini``, in the web server directives or
5757
in ``.htaccess``.
5858

5959
Session API
@@ -152,7 +152,7 @@ the following API which is intended mainly for internal purposes:
152152
Returns the name of the session bag.
153153

154154
:method:`Symfony\\Component\\HttpFoundation\\Session\\SessionBagInterface::clear`
155-
Clears out data from bag.
155+
Clears out data from the bag.
156156

157157
.. _attribute-bag-interface:
158158

@@ -279,7 +279,7 @@ has the API
279279
Gets flashes by type (read only).
280280

281281
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::peekAll`
282-
Gets all flashes (read only) as keyed array of arrays.
282+
Gets all flashes (read only) as a keyed array of arrays.
283283

284284
:method:`Symfony\\Component\\HttpFoundation\\Session\\Flash\\FlashBagInterface::has`
285285
Returns true if the type exists, false if not.

components/security/authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ The ``security.switch_user`` event is triggered every time you activate
322322
the ``switch_user`` firewall listener.
323323

324324
The ``Symfony\Component\Security\Http\Event\DeauthenticatedEvent`` event is triggered when a token has been deauthenticated
325-
because of a user change, it can help you doing some clean-up task.
325+
because of a user change. It can help you perform clean-up tasks.
326326

327327
.. seealso::
328328

components/yaml/yaml_format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ they can also be unquoted:
2525
2626
A string in YAML
2727
28-
'A singled-quoted string in YAML'
28+
'A single-quoted string in YAML'
2929
3030
"A double-quoted string in YAML"
3131

configuration/env_var_processors.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -578,8 +578,8 @@ Symfony provides the following env var processors:
578578
$container->setParameter('private_key', '%env(default:raw_key:file:PRIVATE_KEY)%');
579579
$container->setParameter('raw_key', '%env(PRIVATE_KEY)%');
580580
581-
When the fallback parameter is omitted (e.g. ``env(default::API_KEY)``), the
582-
value returned is ``null``.
581+
When the fallback parameter is omitted (e.g. ``env(default::API_KEY)``), then the
582+
returned value is ``null``.
583583

584584
``env(url:FOO)``
585585
Parses an absolute URL and returns its components as an associative array.

configuration/front_controllers_and_kernel.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ should run in "debug mode". Regardless of the
135135
:ref:`configuration environment <configuration-environments>`, a Symfony
136136
application can be run with debug mode set to ``true`` or ``false``.
137137

138-
This affects many things in the application, such as displaying stacktraces on
138+
This affects many things in the application, such as displaying stack traces on
139139
error pages or if cache files are dynamically rebuilt on each request. Though
140140
not a requirement, debug mode is generally set to ``true`` for the ``dev`` and
141141
``test`` environments and ``false`` for the ``prod`` environment.

configuration/multiple_kernels.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Now you need to define the ``ApiKernel`` class used by the new front controller.
7777
The easiest way to do this is by duplicating the existing ``src/Kernel.php``
7878
file and make the needed changes.
7979

80-
In this example, the ``ApiKernel`` will load less bundles than the default
80+
In this example, the ``ApiKernel`` will load fewer bundles than the default
8181
Kernel. Be sure to also change the location of the cache, logs and configuration
8282
files so they don't collide with the files from ``src/Kernel.php``::
8383

0 commit comments

Comments
 (0)