Applying the style guidlines from phpstyleguide.com