Plugin Php Versions Save

Prettier PHP Plugin

v0.19.3

1 year ago
  • feat: add support for readonly classes [PHP 8.2] (#2131, thanks @genintho!)
  • chore: upgrade dependencies (#2134)

v0.19.2

1 year ago

Deprecations

The psr2 setting for the braceStyle option has been renamed to per-cs to be more in line with future PER releases (see https://github.com/prettier/plugin-php/issues/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!)

v0.19.1

1 year ago
  • fix for inline closure (#2062, thanks @cseufert!)
  • chore: upgrade dependencies (#2068)

v0.19.0

1 year ago
  • fix: formatting of long cases in match statement (#2054)
  • chore: upgrade dependencies (#2059)

Breaking Change:

  • Dropped support for Node v12.

v0.18.9

1 year ago
  • feat: bump parser for PHP 8.1 explicit octal support (#2027)

v0.18.8

1 year ago
  • fix: calls with multiple array spreads (#2010)
  • chore: upgrade dependencies (#2011)

v0.18.7

1 year ago
  • fix: enum as identifier (#1995)
  • fix: improve formatting for match cases (#1994, thanks @AndreasA!)

v0.18.6

1 year ago
  • feat: add PHP 8.1 first class callable support (#1991)

v0.18.5

1 year ago
  • fix: bump parser (#1987)

v0.18.4

2 years ago
  • fix: added trailing commas to match body when enabled (#1949, thanks @cseufert!)