junichi11 opened a new issue, #7454: URL: https://github.com/apache/netbeans/issues/7454
### Apache NetBeans version Apache NetBeans 22 ### What happened From https://github.com/apache/netbeans/issues/7140#issuecomment-2008273528 ### Language / Project Type / NetBeans Component PHP Editor ### How to reproduce 1. Create a PHP file 2. Copy & Paste the below code 3. <kbd>Shift</kbd>+<kbd>Alt</kbd>+<kbd>F</kbd> Example: ```php <?php Example::staticMethod() ->method(function () { Example::staticMethod() ->method(); }); ``` Actual result: ```php <?php Example::staticMethod() ->method(function () { Example::staticMethod() ->method(); }); ``` Expected result: ```php <?php Example::staticMethod() ->method(function () { Example::staticMethod() ->method(); }); ``` ### Did this work correctly in an earlier version? No / Don't know ### Operating System Ubuntu 22.04 ### JDK OpenJDK 17 ### Apache NetBeans packaging Apache NetBeans provided installer ### Anything else _No response_ ### Are you willing to submit a pull request? 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
