Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Runtime] Fix dotenv_overload with commands#45426

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@fancyweb
Copy link
Contributor

QA
Branch?5.4
Bug fix?yes
New feature?no
Deprecations?-
Tickets-
LicenseMIT
Doc PR-

Fixes bugs introduced in#44997.

For example, if$_SERVER['APP_ENV'] = 'foo'; exists and withAPP_ENV=prod in.env, any command will throwCannot use "--env" or "-e" when the... becausefoo is considered as the input env.

Determining the input env and debug from$_SERVER is wrong because when the--no-debug and--env are not used, we actually consider the existing env and debug as the input end and debug. We need to know and use the real input env and debug.

@nicolas-grekasnicolas-grekasforce-pushed theruntime/fix-overload-cmd-no-opts branch fromf9de6bc to4075269CompareFebruary 15, 2022 13:38
Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

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

(I made some tweaks)

fancyweb reacted with rocket emoji
@nicolas-grekas
Copy link
Member

Thank you@fancyweb.

@nicolas-grekasnicolas-grekas merged commit20111d2 intosymfony:5.4Feb 15, 2022
@fancywebfancyweb deleted the runtime/fix-overload-cmd-no-opts branchFebruary 15, 2022 13:40
This was referencedFeb 28, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.4

Development

Successfully merging this pull request may close these issues.

3 participants

@fancyweb@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp