junichi11 commented on code in PR #5731:
URL: https://github.com/apache/netbeans/pull/5731#discussion_r1150727957
##########
php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java:
##########
@@ -600,7 +600,7 @@ public void visit(Block node) {
formatTokens.add(new FormatToken.IndentToken(ts.offset(),
options.indentSize));
}
- if (parent instanceof ClassDeclaration || parent instanceof
InterfaceDeclaration || parent instanceof TraitDeclaration) {
+ if (isTypeNode(parent)) {
Review Comment:
Fix missing `EnumDeclaration`
https://github.com/apache/netbeans/blob/69187abd800017506fc8947f9dfec41f06a65a6f/php/php.editor/src/org/netbeans/modules/php/editor/indent/FormatVisitor.java#L248-L253
--
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