PSR 1 and PSR 2 fixing

Follow the PHP coding standards as defined in the PSR-1 and PSR-2
Thanks to https://github.com/fabpot/PHP-CS-Fixer