Closed
Description
Hi,
I get this error when I mix HTML blocks with multiple statements
[phpcs] Line indented incorrectly; expected 2 tabs, found 3
Sample code:
<?php
if (true) {
?>
<div>
<?php
if (true) {
?>
<?php
}
if (true
|| false) {
?> <!-- error here -->
<?php
}
?>
</div>
<?php
}
?>
Screenshot:
❌
✅
Version:
PHP_CodeSniffer version 3.4.1 (stable) by Squiz (http://www.squiz.net) (Git clone 2019-02-01)