Apply PSR1 & PSR2

* http://www.php-fig.org/psr/psr-1/
* http://www.php-fig.org/psr/psr-2/