php.format.rules.keepControlStatementsOnOneLine
Before formatting:
class foo
{
function bar()
{
if (true) return;
}
}
After formatting:
class foo
{
function bar()
{ if (true) return;
}
}
Formatting without:
class foo
{
function bar()
{
if (true)
return;
}
}