Stop PhpStorm from adding a new line after function declaration when arguments split across multiple lines

余生长醉 提交于 2019-12-05 14:24:26

In the File -> Settings dialogue, under Editor -> Code Style -> PHP select Wrapping and Braces tab on the right hand side.

Find the Function declaration parameters block and check the main control, here you have a bunch of options regarding wrapping parameters and few other options in this block to control braces placement. Also look at the Braces placement block above.

As a complement to @marekful's answer. To make it clearer, these are the 2 settings needed to achieve what I wanted:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!