"NoSpaceBeforeCloseParenthesis" not fired for function declarations in interfaces. #2204
Closed
1 task done
Labels
Milestone
The bug, first introduced in #617 and then in #1262 disables the "
NoSpaceBeforeCloseParenthesis
" error for function declarations in interfaces.Bug Description
Not having a space before closing parenthesis shows an error for class methods and functions, but it does not do so for the function declarations in interfaces.
Minimal Code Snippet
The issue happens when running this command:
... over a file containing this code:
There is no warning about no space before closing parenthesis, while I expect the error to be something like this:
Error Code
Custom ruleset
Environment
Tested Against
develop
branch?develop
branch of WPCS.The text was updated successfully, but these errors were encountered: