PHP_Codesniffer-VariableAnalysis
PHP_Codesniffer-VariableAnalysis copied to clipboard
Variables plugin for PHP Codesniffer static analysis tool. (Up for adoption, I don't work in PHP any more)
Results
2
PHP_Codesniffer-VariableAnalysis issues
Sort by
recently updated
recently updated
newest added
We've added composer compatibility and a new option validUndefinedVariableNames, feel free to merge (& add to packagist). the current semver is at 1.0.2 at the fork.
If you have code like ``` if (isset($foo)) { $bar = $foo; } ``` you already guard yourself against undefined variables. In this case the sniff should treat the variable...