10000 Shortening the list to make it more scanable · symfony/symfony-docs@d9c9a94 · GitHub
[go: up one dir, main page]

Skip to content

Commit d9c9a94

Browse files
ThomasLandauerjaviereguiluz
authored andcommitted
Shortening the list to make it more scanable
1 parent 422bf52 commit d9c9a94

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

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

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

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

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

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

0 commit comments

Comments
 (0)
0