Skip to content

Commit 776b282

Browse files
committed
Merge branch '6.2' into 6.3
* 6.2: Shortening the list to make it more scanable
2 parents d7ba5b8 + d1c0d4a commit 776b282

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
@@ -341,7 +341,7 @@ configuration file using a special syntax: wrap the parameter name in two ``%``
341341
.. note::
342342

343343
If some parameter value includes the ``%`` character, you need to escape it
344-
by adding another ``%`` so Symfony doesn't consider it a reference to a
344+
by adding another ``%``, so Symfony doesn't consider it a reference to a
345345
parameter name:
346346

347347
.. configuration-block::
@@ -403,17 +403,19 @@ The files stored in ``config/packages/`` are used by Symfony to configure the
403403
the application behavior by changing which configuration files are loaded.
404404
That's the idea of Symfony's **configuration environments**.
405405

406-
A typical Symfony application begins with three environments: ``dev`` (for local
407-
development), ``prod`` (for production servers) and ``test`` (for
408-
:doc:`automated tests </testing>`). When running the application, Symfony loads
409-
the configuration files in this order (the last files can override the values
410-
set in the previous ones):
411-
412-
#. ``config/packages/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
413-
#. ``config/packages/<environment-name>/*.yaml`` (and ``*.xml`` and ``*.php`` files too);
414-
#. ``config/services.yaml`` (and ``services.xml`` and ``services.php`` files too);
415-
#. ``config/services_<environment-name>.yaml`` (and ``services_<environment-name>.xml``
416-
and ``services_<environment-name>.php`` files too).
406+
A typical Symfony application begins with three environments:
407+
408+
* ``dev`` for local development,
409+
* ``prod`` for production servers,
410+
* ``test`` for :doc:`automated tests </testing>`.
411+
412+
When running the application, Symfony loads the configuration files in this
413+
order (the last files can override the values set in the previous ones):
414+
415+
#. The files in ``config/packages/*.<extension>``;
416+
#. the files in ``config/packages/<environment-name>/*.<extension>``;
417+
#. ``config/services.<extension>``;
418+
#. ``config/services_<environment-name>.<extension>``.
417419

418420
Take the ``framework`` package, installed by default, as an example:
419421

0 commit comments

Comments
 (0)