Changed
-
Convert shell-style comments (
#
) to C++-style comments (//
) -
Add a space between
//
and subsequent text -
Remove leading and trailing empty lines from PHP docblocks
-
Preserve indentation when normalising PHP docblocks
-
Improve heuristics so C-style comments (
/* ... */
) are normalised like PHP docblocks more consistently -
Don't reindent multiline comments beside code if they have text in column 1, e.g.
<?php foo(); /* this comment starts after column 1 but has text in column 1 */