-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to vlucas/phpdotenv:5.2 #563
Conversation
Question: Any reason to support v4? |
To be honest, I don't know if we really need v4. Since v5 only increase the PHP version to 7.1 and above I would say, we could ditch v4. |
Please. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you!
How do I manually update to phpdotenv v5 from v3 without destroying everything? :D need it sorely for composer package requirements 🗡️ |
Is there any particular reason for using Dotenv\Dotenv::createUnsafeImmutable($root_dir, $env_files, false); Instead of using Dotenv\Dotenv::createImmutable($root_dir, $env_files, false); and changing all the It is discouraged to use
I also encoutered an issue while trying to setup an automated test environment with wp-browser and the |
@LucasDemea I think this PR is what you're suggesting? #598 Just need to re-verify it and merge |
Kind of, but I just tested you implementation and it doesnt solve my issue where env('CONST') doesn't return anything when wordpress is loaded by WPLoader. |
I'm aware that this is more an issue related to wp-browser. I will pursue my investigation this way. |
This PR upgrades
vlucas/phpdotenv
to the current version of5.2
. As in roots/acorn#74 (comment) mentioned, Laravel 8.x and thereforroots/acorn
with support for Laravel 8.x will need an upgrade of the package and minor migration changes.