github lkrms/pretty-php v0.4.89

20 hours ago

Changed

  • Check if the last statement exited a switch case when indenting comments
  • Don't add a space between fn and & in arrow functions that return a value by reference
  • Improve formatting of empty statements after open tags
  • Improve empty switch indentation

Fixed

  • Fix issue where declare() statements with unenclosed bodies are not formatted correctly
  • Fix regression in v0.4.86 where "magic" commas may be ignored when preserve-one-line is enabled

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.