Skip to content

Releases: cvergne/vscode-php-getters-setters

v1.6.1

29 Apr 08:58
fbd51d2
Compare
Choose a tag to compare

What's Changed

  • This fixes a wrong colon inserted in getter function just after (), which breaks php code. by @AlexJBSilva in #27

New Contributors

Full Changelog: v1.6.0...v1.6.1

v1.6.0

27 Apr 12:48
f4cc160
Compare
Choose a tag to compare

What's Changed

  • Add a new option to generate or not PHPDoc
  • Add a new option to enable PHP 7+ type hints
  • Handle nullable types in setter param and getter return (require PHP 7+ type hints option to be enabled)
  • Handle PHP 8 properties
  • Handle properties with comments
  • Bumped minimal VSCode version to 1.63 to handle pre-release
  • Fix: default values, like private string $foo5 = "ok";, generating invalid getter/setter: (by @alcalyn)
  • Fix: static properties, like public static $foo = 'bar';, generating invalid getter/setter: (by @alcalyn)
  • For better understanding, error Missing template has been replaced by No properties found in the file when no properties found in the file (by @alcalyn)
  • Fix regex to handle default values by @alcalyn in #20

New Contributors

Full Changelog: v1.4.0...v1.6.0


Note: v1.5.0 was the pre-version as VSCode can't manage same version for pre-release & release for now.

v1.4.0

19 Nov 08:47
Compare
Choose a tag to compare

What's Changed

  • Insert all getters and setters by @NoxLP in #13

New Contributors

  • @NoxLP made their first contribution in #13

Full Changelog: v1.3.1...v1.4.0

v1.3.1

16 Nov 15:56
28ea397
Compare
Choose a tag to compare

What's Changed

  • [build] Change GH action to also publish on OVSX Registry by @cvergne in #4
  • docs: fix Property hyperlink by @qkdreyer in #8
  • feat: improve getterName for bool props by @qkdreyer in #9

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

08 Jan 19:31
2c9b7c0
Compare
Choose a tag to compare