Comma-first style

Hi! I would like to propose integrate "comma-first" style into auto reformat source code. Example like this:

$data = array(
     "a" => "ape"
   , "b" => "bat"
   , "c" => "cat"
   , "d" => "dog"
   , "e" => "elf"
   , "f" => "fly"

It's very easy and visibility code style. Of course it's only my subjective opinion. More example and information you can find here

It would be great to integrate comma-first style into PhpStorm!

Comment actions Permalink

Check already existing issue on tracker: .

See if you are not familiar with YouTrack.

Comment actions Permalink

This ticket is for JavaScript only while OP needs it for PHP.

Since there is a "ticket per language" rule in place a new (but very similar) Feature Request ticket is required to be created  in for PHP.


Please sign in to leave a comment.