-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
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
PHP code format - no new line after last method #4611
Comments
It seems that setting blank lines "Before Class End" is only able to add more blank lines if its value is greater than blank lines "After Fields" or "After Function". So proposal seems to be that settings for class start and end should have higher priority than the other settings. |
- apache#4611 - Fix unit tests
- apache#4611 - Fix unit tests
- apache#4611 - Fix unit tests
…class-end Prioritize "Before Class End" of Blank Lines Option #4611
@tmysik Thanks so much ❤️ |
@zeleznypa Not me, I just clicked the Merge button ;) @junichi11 is the right guy to thank to, he is implementing all the PHP support in NetBeans (not only) these days. Thanks a lot, Junichi! |
@junichi11 Thanks much to you also :) |
You're welcome :) |
Description
To be able to setup the PSR-12 compatible auto-format, I have to add one empty line „after function“
But the PSR don't want to have blank line before the class closing curly bracket.
Use case/motivation
I want to have code auto-formatted in PSR-12 compatible way.
Current result:
Expected result:
Related issues
No response
Are you willing to submit a pull request?
I want to, but I'm not a Java developer
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: