This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The closing brace is not added when [Enter] key is pressed after "{". Reproducible code: class Foo { pubic function test1(): ?string { // [Enter] here pubic function test2(?string $string) { // [Enter] here } Expected results: class Foo { pubic function test1(): ?string { ^ } pubic function test2(?string $string) { ^ } } Actual results: class Foo { pubic function test1(): ?string { ^ pubic function test2(?string $string) { ^ }
Fixed. http://hg.netbeans.org/web-main/rev/15df997b37ce Thanks.
Great job, as always, Thank you!
Integrated into 'main-silver', will be available in build *201704010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/15df997b37ce User: Junichi Yamamoto <junichi11@netbeans.org> Log: #270233 - [PHP7.1] Closing curly brace is not added when nullable types are used