zeleznypa opened a new issue, #4611: URL: https://github.com/apache/netbeans/issues/4611
### Description To be able to setup the PSR-12 compatible auto-format, I have to add one empty line „after function“ <img width="471" alt="Snímek obrazovky 2022-09-10 v 14 28 48" src="https://user-images.githubusercontent.com/1191472/189483822-f699f171-2ef9-4ae2-91ba-65a9770e30a4.png"> 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: ```php class Foo { public function bar() { // some code } public function baz() { // some code } } ``` Expected result: ```php class Foo { public function bar() { // some code } public function baz() { // some code } } ``` ### Related issues _No response_ ### Are you willing to submit a pull request? No ### Code of Conduct Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
