Reputation: 33
I want the PHP format to stop putting a newline after the open left brace for classes,functions,if,do,while,for,foreach.
class Foo
{ var $numbers = array("one", "two", "three", "four", "five", "six");
const FIRST = 'first';
const Z = -1;
function bar($v, $w = "a")
{ $y = $w;
if(true)
{ $y = 10;
Upvotes: 0
Views: 89
Reputation: 3567
As far as I can see there's no such option. You can submit this as a feature request to JetBrains issue tracker at https://youtrack.jetbrains.com/newIssue
Upvotes: 1