Useful setting for Intellij 1 In Editor > Code Style > PHP All blank lines set to 1 In Other tab, set Align key-value to true