Closed szepeviktor closed 1 year ago
Thanks for reporting this. Javascript support will be removed in PHPCS 4.0, so this is unlikely to get fixed. There are other, JS specific, code styling tools available nowadays. I suggest you use those.
You made me very glad that PHPCS will be a PHP-only tool.
Describe the bug
PSR12: Indentation after object parameter. When the second parameter of
React.createElement
is removed there is no error.Code sample
To reproduce
Steps to reproduce the behavior:
Expected behavior
No errors.
Versions (please complete the following information)
Please confirm:
master
branch of PHP_CodeSniffer.