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