Dynamic method code style wrapping

Hi there community,

I'm facing a formating problem with dynamic methods.

In Code Style -> Wrapping and Braces in PHP separator I have Braces Placement on other configured to Next line, because I want my ifs and other operators braces to be on the next line.

The problem is when I have something like this:

$this->{$param} = $config[$key];

if I run the code format it becamos this:

$this->
{$param} = $config[$key];

Anyway to prevent this?

Tks

2 comments
Comment actions Permalink

This is a bug. Could you please submit a bug report at http://youtrack.jetbrains.net. Thanks!

0
Comment actions Permalink

Hi Rustam,

Thank you for confirming my suspicions :)

Bug reported here: http://youtrack.jetbrains.net/issue/WI-6866

0

Please sign in to leave a comment.