php-cs-fixer automatically formats closing php tag at the next line while php tag is placed in the middle of html
i've set up php-cs-fixer.config but i can't find which setting is related to my problem.
how it formats:
<section>
<?php if (empty($_GET['siteID'])) {
?>
<section class="boxes">
...
</section>
<?php
} ?>
</section>
how i want it to be:
<section>
<?php if (empty($_GET['siteID'])) { ?>
<section class="boxes">
...
</section>
<?php } ?>
</section>
奇怪,为什么我试了下,对html中包含php代码完全不处理呢,像是无法识别