From f6c1ad92611b1f5d87c2cc81687002d5e85eda86 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Tue, 25 Jan 2022 17:04:24 +0100 Subject: [PATCH] [Config] PHP config files are loaded again --- configuration.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/configuration.rst b/configuration.rst index de4af5f2a37..175c7cf1c86 100644 --- a/configuration.rst +++ b/configuration.rst @@ -76,10 +76,13 @@ readable. These are the main advantages and disadvantages of each format: .. note:: - By default Symfony only loads the configuration files defined in YAML - format. If you define configuration in XML and/or PHP formats, update the - ``src/Kernel.php`` file to add support for the ``.xml`` and ``.php`` file - extensions. + By default Symfony loads the configuration files defined in YAML and PHP + formats. If you define configuration in XML format, update the + ``src/Kernel.php`` file to add support for the ``.xml`` file extension. + + .. versionadded:: 6.1 + + The automatic loading of PHP configuration files was introduced in Symfony 6.1. Importing Configuration Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~