Skip to content

Commit 95fada5

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Shortening the list to make it more scanable
2 parents 577e87b + 362f027 commit 95fada5

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

configuration.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ configuration file using a special syntax: wrap the parameter name in two ``%``
363363
.. note::
364364

365365
If some parameter value includes the ``%`` character, you need to escape it
366-
by adding another ``%`` so Symfony doesn't consider it a reference to a
366+
by adding another ``%``, so Symfony doesn't consider it a reference to a
367367
parameter name:
368368

369369
.. configuration-block::
@@ -425,17 +425,19 @@ The files stored in ``config/packages/`` are used by Symfony to configure the
425425
the application behavior by changing which configuration files are loaded.
426426
That's the idea of Symfony's **configuration environments**.
427427

428-
A typical Symfony application begins with three environments: ``dev`` (for local
429-
development), ``prod`` (for production servers) and ``test`` (for
430-
:doc:`automated tests </testing>`). When running the application, Symfony loads
431-
the configuration files in this order (the last files can override the values
432-
set in the previous ones):
433-
434-
#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
435-
#. ``config/packages/<environment-name>/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
436-
#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
437-
#. ``config/services_<environment-name>.yaml`` (and ``services_<environment-name>.xml``
438-
and ``services_<environment-name>.php`` files too).
428+
A typical Symfony application begins with three environments:
429+
430+
* ``dev`` for local development,
431+
* ``prod`` for production servers,
432+
* ``test`` for :doc:`automated tests </testing>`.
433+
434+
When running the application, Symfony loads the configuration files in this
435+
order (the last files can override the values set in the previous ones):
436+
437+
#. The files in ``config/packages/*.<extension>``;
438+
#. the files in ``config/packages/<environment-name>/*.<extension>``;
439+
#. ``config/services.<extension>``;
440+
#. ``config/services_<environment-name>.<extension>``.
439441

440442
Take the ``framework`` package, installed by default, as an example:
441443

0 commit comments

Comments
 (0)