File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -613,10 +613,10 @@ following list shows the files loaded in all environments. The ``.env`` file is
613
613
the only mandatory file and each file content overrides the previous one:
614
614
615
615
* ``.env ``: defines the default values of the env vars needed by the application;
616
- * ``.env.local ``: defines machine-specific overrides for env vars on all
617
- environments. This file is not committed to the repository, so these overrides
618
- only apply to the machine which contains the file (your local computer,
619
- production server, etc. );
616
+ * ``.env.local ``: overrides the default values of env vars for all environments
617
+ but only in the machine which contains the file (e.g. your development computer).
618
+ This file should not be committed to the repository and it's ignored in the
619
+ `` test `` environment (because tests should produce the same results for everyone );
620
620
* ``.env.<environment> `` (e.g. ``.env.test ``): overrides env vars only for some
621
621
environment but for all machines;
622
622
* ``.env.<environment>.local `` (e.g. ``.env.test.local ``): defines machine-specific
@@ -793,7 +793,7 @@ parameters at once by type-hinting any of its constructor arguments with the
793
793
794
794
// src/Service/MessageGenerator.php
795
795
namespace App\Service;
796
-
796
+
797
797
// ...
798
798
799
799
use Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface;
You can’t perform that action at this time.
0 commit comments