The other day a friend of mine was using google-auth-library-php
in combination with google-cloud-php-pubsub and wanted to set the
path for the google credentials file via GOOGLE_APPLICATION_CREDENTIALS
in .env
.
So we figured that this did not work anymore in the newer version of dotenv
(see commit in 4.3)
the default value for use_putenv
changed to false
. And in symfony 5 there was a breaking change to switch use_putenv
from true
to false
(see the putenv deprecation pull request.