Update .env.example to reflect latest version of vlucas/phpdotenv.#577
Update .env.example to reflect latest version of vlucas/phpdotenv.#577webflo merged 1 commit intodrupal-composer:9.xfrom
Conversation
|
Thats strange. This PR is a regression at least in older php versions. See https://stackoverflow.com/a/21473853/265501 |
|
If we are targeting the drupal-9.0.x branch, then the From https://github.com/vlucas/phpdotenv/blob/master/README.md#putenv-and-getenv
Here is a mini example of the problem, https://github.com/mpdonadio/phpdotenv-example |
The latest version of vlucas/phpdotenv doesn't support
getenv()inDotenv::createImmutable(); you need to use one of the superglobals. This updates.env.exampleto reflect proper usage.