diff --git a/components/dotenv.rst b/components/dotenv.rst index acd67399a9c..333e73b6ec7 100644 --- a/components/dotenv.rst +++ b/components/dotenv.rst @@ -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::