github lkrms/pretty-php v0.4.65

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

Changed

  • Improve CLI robustness, consistency and ergonomics

    Changes include but are not limited to:

    • Don't report syntax errors or non-critical code problems until formatting is complete
    • Print a summary that includes resource usage when --diff or --check are given
    • Report location of invalid syntax when formatting fails due to a syntax error
    • Send messages to STDERR only, even when formatted code is not being written to STDOUT
    • Don't hide progress updates while --diff output is rendering
    • Remove superfluous /./ segments from input paths when a directory with a configuration file is passed to pretty-php
    • Don't index input directories unnecessarily when --print-config is given

Fixed

  • Fix string normalisation issue where some codepoints are escaped unnecessarily, e.g. U+FE19

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.