- Edited
I was really confused as to why my file wasn't formatting on save. I didn't see anything in the output panel, received no errors or warnings, it just ... did nothing.
I was able to run it down to a minimal reproduction case:
failing input:
<?php
function foo( $a){
return <<<FOO
$a
FOO;
}
?>
working input:
<?php
function foo( $a){
return <<<FOO
a
FOO;
}
?>
This wouldn't be as annoying, except that even unrelated functions in the same file don't get formatted.