symfony - usePutenv default change deprecation warning fix
If installing a new Symfony 4.4(-dev) the line in config/bootstrap.php will be:
//old(new Dotenv())->loadEnv(dirname(__DIR__).'/.env');//new(new Dotenv(false))->loadEnv(dirname(__DIR__).'/.env');
Just put the false
in to clear the message and continue as you already are - and be explicit and compatible with Symfony 5.0, unless you need the know that you are using a result of $usePutenv = true
. (unlikely, as it is defaulting otherwise).