8000 Change language about storing .env files in the repo by tacman · Pull Request #12466 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Change language about storing .env files in the repo #12466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Change language about storing .env files in the repo
I think .env files are now stored in the repo.
  • Loading branch information
tacman authored Oct 12, 2019
commit 8df0a5b255eec6c0ae768e87252598a802905686
4 changes: 2 additions & 2 deletions components/dotenv.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ environments by passing them as additional arguments to ``Dotenv::loadEnv()``

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

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

.. note::
Expand Down
0