8000 minor #12466 Change language about storing .env files in the repo (ta… · symfony/symfony-docs@134a7f0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 134a7f0

Browse files
committed
minor #12466 Change language about storing .env files in the repo (tacman)
This PR was merged into the 4.3 branch. Discussion ---------- Change language about storing .env files in the repo I think .env files are now st 8000 ored in the repo, but this could probably be written better. <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 8df0a5b Change language about storing .env files in the repo
2 parents 96a14d6 + 8df0a5b commit 134a7f0

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