<?php if: ?> tags cause the block to creep to the right on format.
also it doesn't seem to actually format html anymore either. if you take that same sample case and move the formatting all over the place formatting won't put tags in the right place.
Thank you for reaching out. May I ask if you have any other extensions installed?
I've tried this file, but it worked as expected.
<?php if (!$test): ?>
<?php echo foo("wooo"); ?>
<?php endif ?>