ninjacoder99
ninjacoder99

Reputation: 33

How PhpStorm setting to use COMPACTED Allman same line after open braces style

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

Answers (1)

Dmitrii
Dmitrii

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

Related Questions