Skip to content

Commit 2fb082d

Browse files
committed
Rewordings and transformed a list into a definition list
1 parent a1d88d8 commit 2fb082d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

cookbook/configuration/environments.rst

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,16 @@ behavior:
230230
# 'test' environment and debug disabled
231231
$ php app/console command_name --env=test --no-debug
232232
233-
In addition to the ``--env`` and ``--debug`` options, Symfony commands behavior
234-
can also be controlled with environment variables. The Symfony console application
235-
checks the existence and value of these environment variables before executing
236-
any command:
237-
238-
* ``SYMFONY_ENV``, sets the execution environment of the command to the value of
239-
this variable (``dev``, ``prod``, ``test``, etc.);
240-
* ``SYMFONY_DEBUG``, if ``0``, debug mode is disabled. Otherwise, debug mode is
241-
enabled.
233+
In addition to the ``--env`` and ``--debug`` options, the behavior of Symfony
234+
commands can also be controlled with environment variables. The Symfony console
235+
application checks the existence and value of these environment variables before
236+
executing any command:
237+
238+
``SYMFONY_ENV``
239+
Sets the execution environment of the command to the value of this variable
240+
(``dev``, ``prod``, ``test``, etc.);
241+
``SYMFONY_DEBUG``
242+
If ``0``, debug mode is disabled. Otherwise, debug mode is enabled.
242243

243244
These environment variables are very useful for production servers, because they
244245
allow you to ensure that commands are always run on ``prod`` environment without

0 commit comments

Comments
 (0)