illusori/PHP_Codesniffer-VariableAnalysis — pull request #1 by arnested (2012-09-14 18:58:46+00:00)
Title: Allow function parameters to be unused without provoking unused-var warning

I have added an option for allowing function parameters to be unused without provoking unused-var warning.

When implementing callbacks, Drupal hooks, etc. it is common to define functions with a parameter list but not actually use all of the parameters. Gettings warnings for these can be quite annoying.

This option gives you the ability to disable the the check for unused function parameters.