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
< 5042 td data-grid-cell-id="diff-d6b933f324efdb97e320e8d4195c2715a63984cd26fec4e57eaa442f484b55a3-112-111-2" data-line-anchor="diff-d6b933f324efdb97e320e8d4195c2715a63984cd26fec4e57eaa442f484b55a3R111" data-selected="false" role="gridcell" style="background-color:var(--diffBlob-additionLine-bgColor, var(--diffBlob-addition-bgColor-line));padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">+
You should never store a ``.env.local`` file in your code repository as it might
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
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