Only separate settings. For PHP: Settings | Code Style | PHP | Wrapping and Braces | Braces placement, choose the cases in which you'd like to have the closing brace at the end of line (by default this is all cases except closing braces in class and function declarations). For JavaScript: Settings | Code Style | JavaScript | Wrapping and Braces | Braces placement.
Only separate settings.
For PHP: Settings | Code Style | PHP | Wrapping and Braces | Braces placement, choose the cases in which you'd like to have the closing brace at the end of line (by default this is all cases except closing braces in class and function declarations).
For JavaScript: Settings | Code Style | JavaScript | Wrapping and Braces | Braces placement.
Perhaps I am dense, but I cannot see an option to place the closing brace at the end of a line. I only see options for the opening brace?