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

Remove hardcoded environment names where isDebug switch is good enough #2233

Merged
merged 2 commits into from
Jan 16, 2015

Conversation

rtuin
Copy link
Contributor

@rtuin rtuin commented Dec 8, 2014

Ran into this being a problem since for local development I use the environment 'local'.
What do you think?

Q A
Bug fix? no
New feature? no
Improvement yes
BC breaks? no
Deprecations? no
License MIT

@stloyd
Copy link
Contributor

stloyd commented Dec 9, 2014

@pjedrzejewski @Arn0d 👍

@pjedrzejewski
Copy link
Member

WebProfiler needs to be configured, so there can be env with debug = true, but no profiler. I mean custom env, what do you think?

@rtuin rtuin force-pushed the feature/hardcoded-envs-to-isDebug branch from 3130688 to a9bdddc Compare December 9, 2014 13:37
@rtuin
Copy link
Contributor Author

rtuin commented Dec 9, 2014

@pjedrzejewski Good thinking. Based on that, and looking at how it is defined in Symfony-stanard I think the environment specific bundles like WebProfiler should be moved back to the user's AppKernel.

I've updated this PR accordingly. What do you think?

@rtuin
Copy link
Contributor Author

rtuin commented Dec 16, 2014

Any further thoughts on this? I would like to see this fixed

@rtuin
Copy link
Contributor Author

rtuin commented Dec 23, 2014

ping @pjedrzejewski

@rtuin rtuin closed this Jan 14, 2015
@rtuin rtuin reopened this Jan 14, 2015
@rtuin
Copy link
Contributor Author

rtuin commented Jan 16, 2015

All tests succeed now!

pjedrzejewski pushed a commit that referenced this pull request Jan 16, 2015
Remove hardcoded environment names where isDebug switch is good enough
@pjedrzejewski pjedrzejewski merged commit 3f54008 into Sylius:master Jan 16, 2015
@pjedrzejewski
Copy link
Member

Thank you Richard! 👍

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