plugin-php

Prettier PHP Plugin

MIT License

Stars
1.7K
Committers
51

Bot releases are hidden (Show)

plugin-php - 0.18.3

Published by czosel over 2 years ago

  • feat: [8.1] add support for Intersection types (#1933, thanks @genintho!)
  • chore: add test for covering 'never' return type (#1934, thanks @genintho!)
plugin-php - 0.18.2

Published by czosel over 2 years ago

  • feat: Add support for readonly properties (#1917, thanks @genintho!)
plugin-php - v0.18.1

Published by czosel over 2 years ago

  • feat: add enum support (#1916, thanks @genintho!)
  • dependency updates
plugin-php - v0.18.0

Published by czosel over 2 years ago

  • fix(attributes): remove extra line break (#1890)
  • !fix: bump php-parser and other dependencies (#1914)
  • fix member chain when nullsafe operator is used (#1912, thanks @Epskampie!)
  • added dangling commas on multiline attributes (#1886, thanks @cseufert!)
  • fix: remove jest config from package.json (#1857)

Breaking Changes

  • dropped support for node v10
plugin-php - v0.17.6

Published by czosel almost 3 years ago

  • Fix dissapearing class method visibilty flags (#1843, thanks @cseufert!)
  • dependency updates
plugin-php - 0.17.5

Published by czosel about 3 years ago

  • fix: workaround for extra end tag appearing when first line line has comment (#1764, thanks @cseufert!)
  • fix: don't duplicate php8 attributes (#1821, thanks @cseufert!)
plugin-php - 0.17.4

Published by czosel about 3 years ago

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

Published by czosel about 3 years ago

  • 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
plugin-php - 0.17.2

Published by czosel over 3 years ago

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

Published by czosel over 3 years ago

  • fix(deps): use full commit hash for parser dependency (#1755)
plugin-php - 0.17.0

Published by czosel over 3 years ago

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
plugin-php - v0.16.3

Published by czosel over 3 years ago

  • Fix wrong heredoc indentation in calls (#1725, thanks @bug-tape!)
plugin-php - 0.16.2

Published by czosel over 3 years ago

  • Fix: broken method lookup on closure (#1678, thanks @Vovan-VE!)
plugin-php - 0.16.1

Published by czosel almost 4 years ago

  • Fix indent on multiline string on version >= 7.3 (#1609, thanks @Epskampie!)
plugin-php - v0.16.0

Published by czosel almost 4 years ago

  • 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)
plugin-php - v0.15.2

Published by czosel almost 4 years ago

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

Published by czosel about 4 years ago

  • fix: "<?php" turned into "<?=" at beginning of file (#1567, thanks @zarv1k!)
  • dependency updates
plugin-php - v0.15.0

Published by czosel about 4 years ago

  • feat: convert list to short syntax automatically (#1351)
  • dependency updates
plugin-php - v0.14.3

Published by czosel about 4 years ago

  • feat: update chain breaking heuristic (#1437, thanks @karptonite!)
  • dependency updates
plugin-php -

Published by czosel over 4 years ago

  • feat(comments): optimize printing of comments in assignments (#1435)
  • fix: update parser to fix precedence of ** and ?? (#1440)