Code style

Hi. I'll be happy if anyone can help me out with these issues.

When I reformat code according to code style, the format is not valid according to phpcs.

1. The equal signs are aligned also when I use .=, like this:

$a  = 'a';
$a .= 'b';

I know I can set "Align consecutive assignments", but that only aligns single equal signs, and not when using .=. Then it aligns the dot with the other equal sign.

2. The opening php tag on line 4 is not indented correctly when I'm using alternative syntax for if statements. It should be aligned with the closing one or Foo. It works when I use standard if statements with curly braces 

if ( 1 ) :
?>
Foo
<?php
endif;

 

Please sign in to leave a comment.