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
But in the bellow, PHPCS complains with "The method parameter $needle is never used" (Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed):
Looks like this is caused by the T_FN end token matching, and something in the sniff itself. I've fixed the T_FN end token but still confirming that, and looking into the sniff.
Hello,
This works fine:
But in the bellow, PHPCS complains with "The method parameter $needle is never used" (
Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed
):If I remove "[2]", PHPCS does not complain:
The text was updated successfully, but these errors were encountered: