github lkrms/pretty-php v0.4.76

6 hours ago

Added

  • Add CLI option --indent-between-tags

Changed

  • Improve indented tag handling

    Previously: indentation of code between indented tags was increased if necessary for it to align with the open tag, and an additional indent was applied to top-level code

    Now: indentation of code between indented tags is increased or decreased so it aligns with the open tag, unless --indent-between-tags is used to apply an additional indent in all contexts

Fixed

  • Fix issue where close tags may not be indented appropriately
  • Fix issue where whitespace in yield from is preserved
  • Fix issue where tabs may not be expanded correctly
  • Don't report version when --print-config is given

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.