Skip to content

[Dotenv] Default value can be empty #58393

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

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

HypeMC
Copy link
Contributor

@HypeMC HypeMC commented Sep 26, 2024

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

According to the spec the default value for parameter expansion can be an empty string as well, eg:

MY_VAR=${OTHER_VAR:-}

@fabpot
Copy link
Member

fabpot commented Sep 27, 2024

Thank you @HypeMC.

@fabpot fabpot merged commit db53279 into symfony:5.4 Sep 27, 2024
12 checks passed
@HypeMC HypeMC deleted the fix-empty-default-value branch September 27, 2024 09:01
This was referenced Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants