Closed SharakPL closed 4 years ago
This seems like an “issue” with PSR12 standard implementation or PHP_CodeSniffer not the extension — when I run phpcbf
from the command line (./vendor/bin/phpcbf --standard=PSR12 index.php
) I get the same result.
I'm afraid there's not much point in using PHP Sniffer as default formatter if it won't even follow proper indentation rules :(
Describe the bug It seems indentations are ignored for most part - everything except classses and functions. Here's code example to format:
To Reproduce
Expected behavior Extension should apply proper indentation.
Environment
Extension settings
Additional context