biati-digital / nova-php-cs-fixer

Nova php-cs-fixer extension with HTML support
10 stars 2 forks source link

issue with php balise #7

Closed BenoitBruyere closed 3 years ago

BenoitBruyere commented 3 years ago

Hi,

when I save this part of code:

<script type="text/javascript">
   <?php

the opening php become '< ? php'.

How to fix this issue please?

Best regards

biati-digital commented 3 years ago

Hi, please post an example code so I can copy paste and make the required tests

BenoitBruyere commented 3 years ago

for exemple

<script type="text/javascript">
<?php
echo "alert('test')";

?>
</script>

become after save

<script type="text/javascript">
< ? php
echo "alert('test')"; 
?
>
</script>
biati-digital commented 3 years ago

This should be fixed in the latest version, can you please try it and let me know if it's working for you?