zeleznypa commented on PR #9849: URL: https://github.com/apache/netbeans/pull/9849#issuecomment-7328595311
Hi Matthias, thank you very much for taking this over and for the extra work: fixing the authorship, finding the same problem with `return`, and adding tests for both continuation sizes. I confirmed the `return` problem on real code (with the help of an AI assistant, Claude): with NetBeans 31 and Continuation Indentation 4, a method chain after `return` in one of our files moves from 4 to 8 spaces on reformat, exactly like after `throw`. The second commit looks right to me, because it uses the same `isMethodCall` check in `visit(ReturnStatement)`. I have not run a build with the fix myself yet. I am happy with the change, please go ahead and ping the PHP reviewers. Thanks again! -- 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
