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

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

apnet/symfony-standard-edition,apnet/symfony-standard-edition,debruyne0/symfony,ovelasquez/ussi,proteichik/testApp,Spea/symfony-standard,WolfMicrosystems/symfony-wms,pjcdawkins/tmp-symfony-demo,symfony-cmf/standard-edition,GulDmitry/music-diff,pjcdawkins/tmp-symfony-demo,proteichik/testApp,taylankasap/symfony-standard,debruyne0/symfony,formapro-forks/api-basic,ucay/Skeleton,kmelia/fresh-symfony,symfony/symfony-standard,platformsh/platformsh-example-symfony,simonjcarr/symfony_rest,Clastic/StandardEdition,jakzal/symfony-standard,Tobion/symfony-standard,ucay/Skeleton,black-project/black-standard,jakzal/symfony-standard,symfony-cmf/standard-edition,GulDmitry/music-diff,Clastic/StandardEdition,shamcode/symfony-testing,uttam-vi/pardawala,gencer/symfony-standard,mweimerskirch/symfony-standard,stof/symfony-standard,ovelasquez/ussi,ucay/Skeleton,the-software-factory/superhero-api,trsteel88/symfony-standard,uttam-vi/pardawala,gencer/symfony-standard,GulDmitry/music-diff,egeloen/symfony-standard,simonjcarr/symfony_rest,Spea/symfony-standard,Cartesia/01,formapro-forks/api-basic,egeloen/symfony-standard,lyrixx/symfony-standard,uttam-vi/pardawala,SymfonyId/Skeleton,lyrixx/symfony-standard,Clastic/StandardEdition,dunglas/symfony-standard,vincentaubert/symfony-standard,symfony/symfony-standard,the-software-factory/superhero-api,black-project/black-standard,fabpot/symfony-standard,platformsh/platformsh-example-symfony,apnet/symfony-standard-edition,fabpot/symfony-standard,vincentaubert/symfony-standard,mweimerskirch/symfony-standard,Cartesia/01,stof/symfony-standard,Tobion/symfony-standard,SymfonyId/Skeleton,Cartesia/01,dunglas/symfony-standard,shamcode/symfony-testing,umpirsky/symfony-standard,ovelasquez/ussi,kmelia/fresh-symfony,GulDmitry/music-diff,taylankasap/symfony-standard,WolfMicrosystems/symfony-wms,trsteel88/symfony-standard,umpirsky/symfony-standard,kmelia/fresh-symfony