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
<?phpinterface MyInterface
{
publicfunctionmyMethod($myParameter);
}
class MyClassConcrete implements MyInterface
{
publicfunctionmyMethod($myParameter)
{
// Parameter $myParameter not used here but required to respect interface declaration
}
}
?>
It would be great to create the following annotation : @SuppressWarnings(PHPCS.Generic.CodeAnalysis.UnusedFunctionParameter)
What do you think ?
The text was updated successfully, but these errors were encountered:
It is probably best done using the existing annotation style rather than having PHPCS parse docblocks. There is a request for that already (#604), so I'll close this one. Feel free to comment over there on possible alternative syntax.
I've two classes as following :
It would be great to create the following annotation :
@SuppressWarnings(PHPCS.Generic.CodeAnalysis.UnusedFunctionParameter)
What do you think ?
The text was updated successfully, but these errors were encountered: