Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Use Kernel::getEnvironment() to keep consistency #889

Merged
merged 1 commit into from
Nov 29, 2015
Merged

Use Kernel::getEnvironment() to keep consistency #889

merged 1 commit into from
Nov 29, 2015

Conversation

dosten
Copy link
Contributor

@dosten dosten commented Nov 28, 2015

Hi there!

The PR #850 introduced the use of the variable $this->environment to get the environment, but we already use the method Kernel::getEnvironment(), this PR fixes this to keep consistency.

Please review this before the Symfony 3.0 release.

@Pierstoval
Copy link
Contributor

👍 , I think this should also be merged in 2.7 and 2.8

@dosten
Copy link
Contributor Author

dosten commented Nov 28, 2015

@Pierstoval the changes of #850 are for the master branch only

@Pierstoval
Copy link
Contributor

Fine, I didn't look 👍

@Tobion
Copy link
Contributor

Tobion commented Nov 29, 2015

Thank you @dosten.

@Tobion Tobion merged commit d7320f7 into symfony:master Nov 29, 2015
Tobion added a commit that referenced this pull request Nov 29, 2015
This PR was merged into the 3.0-dev branch.

Discussion
----------

Use Kernel::getEnvironment() to keep consistency

Hi there!

The PR #850 introduced the use of the variable `$this->environment` to get the environment, but we already use the method `Kernel::getEnvironment()`, this PR fixes this to keep consistency.

Please review this before the Symfony 3.0 release.

Commits
-------

d7320f7 Use Kernel::getEnvironment() to keep consistency
@dosten dosten deleted the environment-getter-consistency branch November 29, 2015 18:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants