We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apache NetBeans 16
If the value of a match arm is an array, NB does not format it well.
Before:
<?php match(123){ 'test' => [ 'key' => 'val', ], }; ?>
After Alt+Shift+F:
No / Don't know
Mageia 8 (Linux)
openjdk version "11.0.17" 2022-10-18 LTS
Apache NetBeans binary zip
No response
No
Yes
The text was updated successfully, but these errors were encountered:
Reproducible. Thanks for your report.
Sorry, something went wrong.
Fix an array formatting in a match arm apache#5186
57fbc87
- apache#5186
1c85a40
- apache#5186 e.g. ```php match(true){ 'test' => [ 'key' => 'value', ], }; ``` Before: An array is broken ```php match (true) { 'test' => [ 'key' => 'value', ], }; ``` After: ```php match (true) { 'test' => [ 'key' => 'value', ], }; ```
c2a3188
Merge pull request #5685 from junichi11/php-gh-5186-array-formatting-…
ddb1233
…in-match-arm Fix an array formatting in a match arm #5186
junichi11
Successfully merging a pull request may close this issue.
Apache NetBeans version
Apache NetBeans 16
What happened
If the value of a match arm is an array, NB does not format it well.
How to reproduce
Before:
After Alt+Shift+F:
Did this work correctly in an earlier version?
No / Don't know
Operating System
Mageia 8 (Linux)
JDK
openjdk version "11.0.17" 2022-10-18 LTS
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: