github lkrms/pretty-php v0.4.64

latest releases: v0.4.76, v0.4.75, v0.4.74...
6 months ago

Changed

  • Don't ignore --tight when a configuration file or preset is applied
  • Collapse DocBlocks above standalone declarations if they were originally collapsed
  • Do not collapse DocBlocks that contain only @inheritDoc
  • Maintain the same gap between one-line declarations before and after any multi-line declarations of the same type
  • Don't allow multi-line properties or constants to maintain tight spacing

    This reverts a change in v0.4.63 that helped prevent unintended propagation of loose spacing. Other improvements have addressed this issue, and allowing multi-line declarations to run together makes code less readable, so pretty-php's previous behaviour has been restored.

Fixed

  • Fix issue where declaration DocBlocks are not always collapsed correctly

Don't miss a new pretty-php release

NewReleases is sending notifications on new releases.