Prettier 2.4.0
PHP Plugin 0.18.4
Input:
Output:
Expected behavior:
The above output does not work, it is fundamentally broken code.
There should be no change:
...or the variables should be concatenated:
Note that if there is a space in the middle, this works fine and is not changed:
<?= $var1 ?> <?= $var2 ?>