Skip to content

Commit 2b3aa72

Browse files
authored
[configuration]: remove php<8 section, remove flex reference
- symfony 6.x requires php > 8 so configuration section for pre 8 is irrelevant - `dotenv:dump` has been implemented in 5.4 and reference to flex is no longer relevant symfony/symfony@234c0b3
1 parent 66a8003 commit 2b3aa72

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

configuration.rst

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -839,20 +839,8 @@ In production, the ``.env`` files are also parsed and loaded on each request. So
839839
the easiest way to define env vars is by creating a ``.env.local`` file on your
840840
production server(s) with your production values.
841841

842-
To improve performance, you can optionally run the ``dotenv:dump`` command (available
843-
in :ref:`Symfony Flex <symfony-flex>` 1.2 or later). The command is not registered
844-
by default, so you must register first in your services:
845-
846-
.. code-block:: yaml
847-
848-
# config/services.yaml
849-
services:
850-
Symfony\Component\Dotenv\Command\DotenvDumpCommand:
851-
- '%kernel.project_dir%/.env'
852-
- '%kernel.environment%'
853-
854-
In PHP >= 8, you can remove the two arguments when autoconfiguration is enabled
855-
(which is the default):
842+
To improve performance, you can optionally run the ``dotenv:dump`` command.
843+
The command is not registered by default, so you must register first in your services:
856844

857845
.. code-block:: yaml
858846

0 commit comments

Comments
 (0)