Skip to content

Releases: prettier/plugin-php

0.17.4

31 Aug 18:52

Choose a tag to compare

  • feat(php8-attribute): PHP 8 Attribute output (#1761, thanks @cseufert!)
  • fix class const ignore formatting bug (#1799, thanks @wdoug!)
  • dependency updates

0.17.3

27 Jul 11:28

Choose a tag to compare

  • Update PHP parser to allow for dangling comma in use block (#1796, thanks @justim!)
  • Added PhpStorm/Jetbrains config guide (#1787, thanks @cseufert!)
  • Updated NodeJS versions to current stable releases (#1775, thanks @cseufert!)
  • chore: update prettier to 2.1.2 (#1774)
  • dependency updates

0.17.2

26 Jun 16:06

Choose a tag to compare

  • feat(php8 hanging comma) Add support for haning comma for functions, closures, arrow functions and methods (#1769)
  • fix(php8): non-capturing exception catches (#1763)

0.17.1

15 Jun 06:55

Choose a tag to compare

  • fix(deps): use full commit hash for parser dependency (#1755)

0.17.0

14 Jun 14:14

Choose a tag to compare

This release adds partial support for PHP8 🎉

  • feat: PHP8 Promoted Props / Match Statement / Throw Statement / Union Types (#1753, thanks @cseufert!)
  • feat: add support for named arguments and nullsafepropertylookup (php8) (#1656)
  • dependency updates

v0.16.3

13 May 10:12

Choose a tag to compare

0.16.2

19 Mar 20:02

Choose a tag to compare

0.16.1

12 Dec 11:47

Choose a tag to compare

  • Fix indent on multiline string on version >= 7.3 (#1609, thanks @Epskampie!)

v0.16.0

12 Nov 17:19

Choose a tag to compare

  • feat: Convert single quotes to double quotes (#1254 / #1582, thanks @utkarshgupta137!)
  • fix: comment position in anonymous class (#1580)
  • fix: space after anonymous class keyword (#1579)

v0.15.2

26 Oct 11:50

Choose a tag to compare

  • feat: flexible heredoc support (#1574)
  • fix: stop swallowing characters in indented heredoc (#1576)