Skip to content
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

Revert "bug #29154 [FrameworkBundle] Define APP_ENV/APP_DEBUG from argv via Application::bootstrapEnv() #29197

Merged
merged 1 commit into from
Nov 13, 2018

Conversation

nicolas-grekas
Copy link
Member

This reverts commit 9253199, reversing
changes made to 664a032.

Q A
Branch? 4.2
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

Replaced by symfony/recipes#491, see description there.

…from argv via Application::bootstrapEnv() (chalasr)"

This reverts commit 9253199, reversing
changes made to 664a032.
@nicolas-grekas
Copy link
Member Author

I'm proposing to revert this method because it fits nowhere: we cannot use it in the console recipe because the method is in fwb. Logic fits only inlined in bin/console as in symfony/recipes#491

@chalasr
Copy link
Member

chalasr commented Nov 13, 2018

we cannot use it in the console recipe because the method is in fwb.

We are instantiating the FWB Application there, not sure to get the issue.
OK for me anyways

@nicolas-grekas
Copy link
Member Author

The issue is that even if the code is in fwb, it is the console recipe that is going to reference it, because that's where bin/console is.

@nicolas-grekas nicolas-grekas merged commit f3c5fda into symfony:master Nov 13, 2018
nicolas-grekas added a commit that referenced this pull request Nov 13, 2018
…BUG from argv via Application::bootstrapEnv() (nicolas-grekas)

This PR was merged into the 4.2-dev branch.

Discussion
----------

Revert "bug #29154 [FrameworkBundle] Define APP_ENV/APP_DEBUG from argv via Application::bootstrapEnv()

This reverts commit 9253199, reversing
changes made to 664a032.

| Q             | A
| ------------- | ---
| Branch?       | 4.2
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

Replaced by symfony/recipes#491, see description there.

Commits
-------

f3c5fda Revert "bug #29154 [FrameworkBundle] Define APP_ENV/APP_DEBUG from argv via Application::bootstrapEnv() (chalasr)"
@nicolas-grekas nicolas-grekas deleted the no-boot-cli branch November 14, 2018 10:36
@fabpot fabpot mentioned this pull request Nov 16, 2018
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