Skip to content

minor tweak - if APP_ENV is an empty string, this defaults it back to dev #514

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
1 commit merged into from
Jan 5, 2019
Merged

minor tweak - if APP_ENV is an empty string, this defaults it back to dev #514

1 commit merged into from
Jan 5, 2019

Conversation

weaverryan
Copy link
Member

@weaverryan weaverryan commented Jan 5, 2019

Q A
License MIT

One more tweak after #513

It's an edge-case, but when APP_ENV is set to an empty string

APP_ENV='' php bin/console

Before $_SERVER['APP_ENV'] would be an empty string, after it would be dev.

Or, maybe we decide that the current behavior IS the correct behavior. It's an edge-case either way.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request passes validation.

@ghost ghost merged commit e5537b6 into symfony:master Jan 5, 2019
ghost pushed a commit that referenced this pull request Jan 5, 2019
@weaverryan weaverryan deleted the dot-env-index-minor-tweak branch January 5, 2019 16:52
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants