Can PHP closing brace be set to align with code?

Is it possible somehow to set the PHP closing brace settings to the same as you can on CSS using the "Align closing brace with properties." option?

With other words, so the closing brace would be aligned with the code typed above.

Example:

 

If (true) {

  echo 'yes';

  }

Instead of being:

If (true) {

  echo 'yes';

}

0

Looks like not. Is this a known coding standard? 

0

It is not a big and known coding standard.

Not sure how the rules that implement the code structure system is setup, though do not think it should be that difficult to add an option to allow this.

0

请先登录再写评论。