The Formatter Preferences page allows you to select advanced PHP formatter profile.
The Formatter Preferences Preferences page is accessed from Window | Preferences | PHP | Formatter Preferences .
To apply Formatter Preferences settings to a specific project only:
To change your formatter options you can either select one of the built-in profiles or create a new profile. To create a new profile select New... You can then edit the new profile by selecting Edit....
Built-in profiles can be only previewed, use Show... to see them.
Each profile can be exported to XML view Export.... Later can be imported into different workspace by Import... dialog.