Clean Code for some old code

I ran cs.sensiolabs.org's script  just because php has a bunch of people trying to do good stuffs


You should be part of the community mate, http://www.php-fig.org/