github lkrms/pretty-php v0.4.83

13 hours ago

Changed

  • Rewrite align-data rule (enabled via --enable align-data or --preset wordpress) to improve output stability and performance
  • When align-data is enabled, only align consecutive assignment operators, => delimiters in array syntax, and => delimiters in match expressions

Removed

  • In align-data, don't align arbitrary comma-delimited expressions across multiple columns

    If removal of this experimental feature affects you, please let me know by starting a discussion on GitHub.

  • In align-data, don't align delimiters after case and default in consecutive one-line switch cases

Fixed

  • Fix blank-before-return issue where blank lines may be added before yield or yield from in non-statement contexts

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.