Variables plugin for PHP Codesniffer static analysis tool. (Up for adoption, I don't work in PHP any more)
Stars
35
Forks
26
Watchers
35
Open Issues
2
Overall repository health assessment
No package.json found
This might not be a Node.js project
Included example of using allowUnusedFunctionParameters.
45fcfe8View on GitHubAllowed function parameters to be unused without provoking unused-var warning.
48fe13aView on GitHubAdd support for compact() - literal string/array arguments only.
b6cd334View on GitHubFix error causing false-positive redeclaration warnings where use of late static binding constants as function arguments were being detected as static variable declarations on subsequent variable arguments to the function.
8542524View on GitHubAdd support for spotting static::$member_var outside class scope.
ecc76fcView on GitHubAdd test case for use of late static binding static:: outside class scope.
9a0388cView on GitHubAdd test cases to replicate failures where late static binding can be mistakenly confused as static variable declarations.
cf32ebcView on GitHubCorrect the syntax of superglobals in double-quoted string unit test to one that is valid PHP.
3d6a188View on GitHubDetect pass-by-reference param declarations and do not issue unused variable warnings if they've been assigned to, as this counts as valid use.
5e094b7View on GitHub