github lkrms/pretty-php v0.4.33

latest releases: v0.4.71, v0.4.70, v0.4.69...
11 months ago

Changed

  • Always move docblocks to the start of their own line to reflect their association with subsequent structural elements
  • Treat C-style comments that break over multiple lines as docblocks for vertical spacing purposes
    • Multi-line C-style comments aren't "pinned" to subsequent code like docblocks are, but they are handled consistently otherwise
  • Improve inline comment handling when collapsing hanging indentation

Fixed

  • Fix issue where arrays created with square brackets are not treated as lists in some contexts
  • Fix inconsistent formatting of anonymous functions that return values by reference

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.