Implement PSR-2 code standard.

Signed-off-by: crynobone <crynobone@gmail.com>
Merge branch '2.0'