Skip to content

[FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console options #29126

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

Closed
wants to merge 2 commits into from

Conversation

chalasr
Copy link
Member

@chalasr chalasr commented Nov 7, 2018

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

nicolas-grekas
nicolas-grekas previously approved these changes Nov 7, 2018
@chalasr chalasr force-pushed the revert-env-deprecation branch from b7d4389 to 3ad8da9 Compare November 7, 2018 17:17
@nicolas-grekas
Copy link
Member

nicolas-grekas commented Nov 8, 2018

I have a new proposal here: let's keep the deprecation in place!
But let's provide an alternative: a new static method Console\Application::bootstrapEnv(), whose implementation and signature is the one shipped in https://github.com/symfony/recipes/pull/481/files#diff-7da44e840dfd19bb3d28a45e510e8d50R64 (then, deprecation messages should be updated to suggest the alternative)

@chalasr
Copy link
Member Author

chalasr commented Nov 9, 2018

Closing in favor of #29154.

@chalasr chalasr closed this Nov 9, 2018
@chalasr chalasr deleted the revert-env-deprecation branch November 9, 2018 13:04
nicolas-grekas added a commit that referenced this pull request Nov 10, 2018
…pplication::bootstrapEnv() (chalasr)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[FrameworkBundle] Define APP_ENV/APP_DEBUG from argv via Application::bootstrapEnv()

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

Replaces #29126.

Commits
-------

bbd5682 [FrameworkBundle] Define APP_ENV/APP_DEBUG from argv via Application::bootstrapEnv()
nicolas-grekas added a commit that referenced this pull request Nov 14, 2018
…-env and --no-debug console options (chalasr)

This PR was merged into the 4.2-dev branch.

Discussion
----------

[FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console options

This reverts commit 9f60ff8.
This reverts commit 31b5615.

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

Working on recipes with @weaverryan, we figured out that this deprecation is just making our life more difficult. Let's revert it.

Same as #29126, reverts #28745 and #28653

Commits
-------

443f8ad [FrameworkBundle][WebServerBundle] Revert deprecation of --env and --no-debug console options
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.

3 participants