8000 Change language about storing .env files in the repo · symfony/symfony-docs@8df0a5b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8df0a5b

Browse files
authored
Change language about storing .env files in the repo
I think .env files are now stored in the repo.
1 parent fe0725d commit 8df0a5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dotenv.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ environments by passing them as additional arguments to ``Dotenv::loadEnv()``
108108

109109
The ``Dotenv::loadEnv()`` method was introduced in Symfony 4.2.
110110

111-
You should never store a ``.env`` file in your code repository as it might
112-
contain sensitive information; create a ``.env.dist`` file (or multiple
111+
You should never store a ``.env.local`` file in your code repository as it might
112+
contain sensitive information; create a ``.env`` file (or multiple
113113
environment-specific ones as shown above) with sensible defaults instead.
114114

115115
.. note::

0 commit comments

Comments
 (0)
0