Change PHP template files spacing policy around statements

Hello,

Is there a way to change the policy for setting spaces around statements on php template files?

E.g. I have this if statements:

Captura de pantalla 2012-10-03 a las 10.23.47.jpg
And would like to have this:

Captura de pantalla 2012-10-03 a las 10.26.26.jpg


When applying a code reformating.

Thank you!

Please sign in to leave a comment.