Skip to content

0.7.0

Pre-release
Pre-release

Choose a tag to compare

@pmjones pmjones released this 23 Sep 14:15
· 323 commits to 0.x since this release
  • Add Styler::lastSeparatorChar() to specify comma (or no comma) on last item of split list.

  • Fix apply command to honor the --force option again.

  • Floats, integers, single-quoted strings, and non-interpolated double-quoted strings now display their original raw value, not a reconstructed value.

  • A file that starts with a return now has the return on the same line as the opening <?php tag.

  • Imports now get a blank line between use statements of different types; this means groups of use, use const, and use function will be visually separate from each other, though the Styler will not regroup or rearrange them.

  • Standalone const statements are now grouped together instead of getting a blank line between them; class constants still have the blank line.

  • Fix name in help output.

  • Handle class constants separately from non-class constants.

  • Add Styler::functionBodyClipWhen().

  • Change how operators get modified; was setOperators(), now modOperators().