Download the PHP package bamboohr/variable-analysis without Composer
On this page you can find all versions of the php package bamboohr/variable-analysis. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bamboohr/variable-analysis
More information about bamboohr/variable-analysis
Files in bamboohr/variable-analysis
Download bamboohr/variable-analysis
More information about bamboohr/variable-analysis
Files in bamboohr/variable-analysis
Vendor bamboohr
Package variable-analysis
Short Description Provides PHP CodeSniffer sniffs to find unused and undefined variables.
License
Package variable-analysis
Short Description Provides PHP CodeSniffer sniffs to find unused and undefined variables.
License
Please rate this library. Is it a good library?
Informations about the package variable-analysis
PHP_CodeSniffer VariableAnalysis
Plugin for PHP_CodeSniffer static analysis tool that adds analysis of problematic variable use.
- Performs static analysis of variable use.
- Warns on use of undefined variables.
- Warns if variables are set or declared but never used within that scope.
- Warns if variables are redeclared within same scope.
- Warns if $this, self::$static_member, static::$static_member is used outside class scope.
- (new) Allows $this inside closures in PHP >=5.4
- (new) Add analysis of instance variables ($this->...)
INSTALLATION
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.
CUSTOMIZATION
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.
KNOWN ISSUES & BUGS
- File scope isn't currently analysed.
All versions of variable-analysis with dependencies
PHP Build Version
Package Version
The package bamboohr/variable-analysis contains the following files
Loading the files please wait ....