Skip to content

Commit 9736abf

Browse files
committed
minor #17675 Shortening the list to make it more scanable (ThomasLandauer)
This PR was squashed before being merged into the 5.4 branch. Discussion ---------- Shortening the list to make it more scanable Commits ------- d9c9a94 Shortening the list to make it more scanable
2 parents 76a7847 + d9c9a94 commit 9736abf

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

configuration.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ configuration file using a special syntax: wrap the parameter name in two ``%``
346346
.. note::
347347

348348
If some parameter value includes the ``%`` character, you need to escape it
349-
by adding another ``%`` so Symfony doesn't consider it a reference to a
349+
by adding another ``%``, so Symfony doesn't consider it a reference to a
350350
parameter name:
351351

352352
.. configuration-block::
@@ -408,17 +408,18 @@ The files stored in ``config/packages/`` are used by Symfony to configure the
408408
the application behavior by changing which configuration files are loaded.
409409
That's the idea of Symfony's **configuration environments**.
410410

411-
A typical Symfony application begins with three environments: ``dev`` (for local
412-
development), ``prod`` (for production servers) and ``test`` (for
413-
:doc:`automated tests </testing>`). When running the application, Symfony loads
411+
A typical Symfony application begins with three environments:
412+
* ``dev`` for local development,
413+
* ``prod`` for production servers,
414+
* ``test`` for :doc:`automated tests </testing>`.
415+
When running the application, Symfony loads
414416
the configuration files in this order (the last files can override the values
415417
set in the previous ones):
416418

417-
#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
418-
#. ``config/packages/<environment-name>/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
419-
#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
420-
#. ``config/services_<environment-name>.yaml`` (and ``services_<environment-name>.xml``
421-
and ``services_<environment-name>.php`` files too).
419+
#. The files in ``config/packages/*.<extension>``;
420+
#. the files in ``config/packages/<environment-name>/*.<extension>``;
421+
#. ``config/services.<extension>``;
422+
#. ``config/services_<environment-name>.<extension>``.
422423

423424
Take the ``framework`` package, installed by default, as an example:
424425

0 commit comments

Comments
 (0)