Closed acasademont closed 4 years ago
PS: I'm only introducing this change for Symfony 5.1+ even though this is available even on Symfony 4. If someone els needs it we could probably rework it to make it work also for previous Symfony versions
PS2: This doesn't break BC, the .env file is being loaded as before
Thx @andig , could you please tag a release when you can?
Sometime ago (https://symfony.com/doc/current/configuration/dot-env-changes.html) , Symfony changed the way .env files were loaded and now accepts a .env.local or a .env.dev file. Right now, php-pm is only loading the .env file. With this change, Symfony now will load all the relevant .env.* files too