github lkrms/pretty-php v0.4.77

21 hours ago

Added

  • Add PHP 8.4 support
    • Format property hooks
    • Add support for asymmetric visibility modifiers

Changed

  • In constructors with promoted parameters, add newlines before all parameters
  • Allow parameters to appear with adjacent attributes on their own line instead of moving attributes to separate lines
  • Don't collapse one-line DocBlocks if there is no subsequent code in the same scope

Fixed

  • Fix issue where DocBlocks with trailing asterisks on every line are not formatted correctly if any leading asterisks are missing
  • Fix issue where symfony preset may not format parameters with attributes correctly

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.