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
The WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis rule is (currently) inconsistent.
I get:
Space between opening control structure and closing parenthesis is required
(WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis)
For:
function test2( array $foo ): \Generator {
yield 1;
}
But no complaints for the exact same code without a function parameter:
The
WordPress.WhiteSpace.ControlStructureSpacing.NoSpaceAfterCloseParenthesis
rule is (currently) inconsistent.I get:
For:
But no complaints for the exact same code without a function parameter:
It might be fixed upstream?
See: WordPress/WordPress-Coding-Standards#547 (comment)
The text was updated successfully, but these errors were encountered: