10000 minor #17520 Changing versionadded 5.1 to note (ThomasLandauer) · colinodell/symfony-docs@55fb2a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 55fb2a8

Browse files
committed
minor symfony#17520 Changing versionadded 5.1 to note (ThomasLandauer)
This PR was merged into the 5.4 branch. Discussion ---------- Changing versionadded 5.1 to note Reasons: * Info about 5.1 doesn't make sense in 5.4 anymore. * Link to `configureContainer` was dead anyway. The other change is just improving the language, cause "caches all of them into PHP" was odd. Commits ------- 6c19fa7 Changing versionadded 5.1 to note
2 parents 1f3db97 + 6c19fa7 commit 55fb2a8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

configuration.rst

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ configure your applications, but lets you choose between YAML, XML and PHP.
5757
Throughout the Symfony documentation, all configuration examples will be
5858
shown in these three formats.
5959

60-
.. versionadded:: 5.1
60+
.. note::
6161

62-
Starting from Symfony 5.1, by default Symfony only loads the configuration
62+
By default, Symfony only loads the configuration
6363
files defined in YAML format. If you define configuration in XML and/or PHP
64-
formats, update the ``src/Kernel.php`` file to add support for the ``.xml``
65-
and ``.php`` file extensions by overriding the
66-
:method:`Symfony\\Component\\HttpKernel\\Kernel::configureContainer` method::
64+
formats, update the ``src/Kernel.php`` file::
6765

6866
// src/Kernel.php
6967
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
@@ -90,8 +88,8 @@ shown in these three formats.
9088
}
9189

9290
There isn't any practical difference between formats. In fact, Symfony
93-
transforms and caches all of them into PHP before running the application, so
94-
there's not even any performance difference between them.
91+
transforms all of them into PHP and caches them before running the application, so
92+
there's not even any performance difference.
9593

9694
YAML is used by default when installing packages because it's concise and very
9795
readable. These are the main advantages and disadvantages of each format:

0 commit comments

Comments
 (0)
0