github lkrms/pretty-php v0.4.29

latest releases: v0.4.75, v0.4.74, v0.4.73...
13 months ago

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 */

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.