Fixed Symfony2 code standard

Hello,

As this lib is using some Symfony2 components, maybe it worths it to follow some Symfony2 standard?
If you agree, here are some changes to be compliant.

(It's a simple run of the php-cs-fixer available here: http://cs.sensiolabs.org/)