Where is the option to control property access spacing when formatting?

I'm almost sure that there used to be an option to control this formatting case:

function __set( $k, $v ) {
    $this->values_input->{$k} = $v;


function __set( $k, $v ) {
    $this->values_input->{ $k } = $v;

I have a huge project that has the second case everywhere but when I try to format the code it removes the spaces around $k.

Has it been removed or am I missing something? I have almost all spacing cases checked in PhpStorm settings and the few unchecked don't seem to be relevant.

1 comment

Unfortunately, there is no way to control this behaviour at the moment. I have submitted a corresponding feature request:


Please feel free to vote & follow to be notified on its progress.


Please sign in to leave a comment.