PhpStorm - format brackets on one line

How to configure PhpStorm to place brackets on one line when formatting is triggered ( Ctrl + Alt + L )? He currently formats as follows:

function() { } 

and I want it to be formatted as

 function() { } 
+7
phpstorm
source share
1 answer
  • Settings/Preferences
  • Editor | Code Style | PHP | Wrapping and Braces
  • Braces placement | In function declaration = End of line
+13
source share

All Articles