Variables plugin for PHP Codesniffer static analysis tool. (Up for adoption, I don't work in PHP any more)
Plugin for PHP_CodeSniffer static analysis tool that adds analysis of problematic
variable use.
Run ./install.sh -h to get install help.
For a default install of PHP_Codesniffer via PEAR with PEAR in ~/pear you should be
safe to just run ./install.sh to use the default options, then copy the rules from
ruleset.xml into your own ruleset.xml.
There’s a variety of options to customize the behaviour of VariableAnalysis, take
a look at the included ruleset.xml for commented examples of a configuration.