Update code to PSR standards

Used PHP CS Fixer version 0.3-DEV