You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gsherwood
changed the title
[Generic.WhiteSpace.ArbitraryParenthesesSpacing] False negative
Generic.WhiteSpace.ArbitraryParenthesesSpacing doesn't detect issues for statements directly after a control structure
Feb 24, 2020
The following code
return no error.
This because
ignoreTokens
containsT_CLOSE_CURLY_BRACKET
.It seems to be to avoid having duplicate error message with
But
T_CLOSE_CURLY_BRACKET
should not be ignored when it's the end of a function, a control structure or a class.The text was updated successfully, but these errors were encountered: