Reformat code with phpstorm.

A sort of silly commit in ways, but it was getting really annoying
reading all the different coding styles.

Plus I got to try out the reformat project with php storm.