Skip to content

Releases: prettier/plugin-php

0.19.3

19 Jan 07:24
Compare
Choose a tag to compare
  • feat: add support for readonly classes [PHP 8.2] (#2131, thanks @genintho!)
  • chore: upgrade dependencies (#2134)

0.19.2

02 Nov 06:28
Compare
Choose a tag to compare

Deprecations

The psr2 setting for the braceStyle option has been renamed to per-cs to be more in line with future PER releases (see #2060 for details). psr2 will continue to work for now, but will be removed in a future release.

Bugfixes

  • Support expressions in new statement (#2086, thanks @cseufert!)
  • Fix for function curly brace with attrs (#2089, thanks @cseufert!)
  • Deprecated PSR-2 braceStyle and use PER-CS instead (#2070, thanks @cseufert!)

0.19.1

13 Sep 16:59
Compare
Choose a tag to compare

0.19.0

07 Sep 07:23
Compare
Choose a tag to compare
  • fix: formatting of long cases in match statement (#2054)
  • chore: upgrade dependencies (#2059)

Breaking Change:

  • Dropped support for Node v12.

0.18.9

02 Jul 19:05
Compare
Choose a tag to compare
  • feat: bump parser for PHP 8.1 explicit octal support (#2027)

0.18.8

10 Jun 19:10
Compare
Choose a tag to compare
  • fix: calls with multiple array spreads (#2010)
  • chore: upgrade dependencies (#2011)

0.18.7

30 May 21:19
Compare
Choose a tag to compare
  • fix: enum as identifier (#1995)
  • fix: improve formatting for match cases (#1994, thanks @AndreasA!)

0.18.6

25 May 22:02
Compare
Choose a tag to compare
  • feat: add PHP 8.1 first class callable support (#1991)

0.18.5

23 May 18:41
Compare
Choose a tag to compare
  • fix: bump parser (#1987)

0.18.4

25 Mar 07:49
Compare
Choose a tag to compare
  • fix: added trailing commas to match body when enabled (#1949, thanks @cseufert!)