Prettier 3.5.3
PHP Plugin 0.22.4
Input:
<?php
const a = true;
?><div></div>
<?php if (2==2) {
// comment
?><span></span><?php
return true;
}
Output:
<?php
const a = true; ?><div></div>
<?php if (2 == 2) {<?php
// comment
?><span></span><?php return true;}
Expected behavior:
< ? php above the comment line at the end is not needed
Prettier 3.5.3
PHP Plugin 0.22.4
# Options (if any):Input:
Output:
Expected behavior:
< ? php above the comment line at the end is not needed