From 953845cddc63f9a12a54fff135fff7a9485bdb78 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Mon, 2 Nov 2020 13:57:47 +0100 Subject: [PATCH] some minor tweaks --- setup/symfony_server.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/symfony_server.rst b/setup/symfony_server.rst index a8374aaca4a..0f4d88904d6 100644 --- a/setup/symfony_server.rst +++ b/setup/symfony_server.rst @@ -380,12 +380,12 @@ its location, same as for ``docker-compose``: .. caution:: - When using Symfony binary with ``php bin/console`` (``symfony console ...``) - the binay will **always** use environment variables detected via Docker and will + When using the Symfony binary with ``php bin/console`` (``symfony console ...``), + the binary will **always** use environment variables detected via Docker and will ignore local environment variables. For example if you set up a different database name in your ``.env.test`` file (``DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/test``) and if you run - ``symfony console doctrine:database:drop --force --env=test`` the command will drop the database + ``symfony console doctrine:database:drop --force --env=test``, the command will drop the database defined in your Docker configuration and not the "test" one. SymfonyCloud Integration