Releases: cvergne/vscode-php-getters-setters
Releases · cvergne/vscode-php-getters-setters
v1.6.1
What's Changed
- This fixes a wrong colon inserted in getter function just after (), which breaks php code. by @AlexJBSilva in #27
New Contributors
- @AlexJBSilva made their first contribution in #27
Full Changelog: v1.6.0...v1.6.1
v1.6.0
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
v1.3.1
v1.3.0
- Fix vscode compatibility (phproberto/vscode-php-getters-setters#23)
- Add support for 7.4 typed properties (phproberto/vscode-php-getters-setters#31)
- Add PSR-1 method names (phproberto/vscode-php-getters-setters#33)
- Handle specified array type hints (phproberto/vscode-php-getters-setters#27)
- Experimental: Handle from any cursor place in the line