Releases: sirbrillig/phpcs-variable-analysis
Releases · sirbrillig/phpcs-variable-analysis
v2.6.3
Changelog
v2.6.2 added a regression for PHP 5.6, which was intended to be the minimum version for this package. The composer config incorrectly listed PHP 5.4 as the minimum version, so that has also been updated.
- Downgrade circleci image to PHP 5.6 (#86)
v2.6.2
Changelog
- Allow global var assignment to count as a read #83 (thanks @aeisenberg for finding it!)
v2.6.1
Changelog
- Improve check for static var defs inside functions (#80) (props @Rolige for finding it)
- Allow self and static references in trait (#76) (props @Levivb)
- Add checks for class properties (#77) (props @Levivb for finding it)
v2.6.0
Changelog
- Enable allowUnusedForeachVariables and allowUnusedCaughtExceptions (#73)
v2.5.0
Changelog
- Add ignore unused foreach option (#66)
- Allow self within class method closures (#70)
- Document site pass by ref (#71)
- Add allowWordPressPassByRefFunctions option (#69)
v2.4.0
Changelog
- Handle variable class static refs (#63)
- Ignore numeric variables (#61)
- Make allowUnusedParametersBeforeUsed default to true (#59)
v2.3.0
Changelog
- Add allowUnusedParametersBeforeUsed option (#58)
v2.1.3
Changelog
- Support shorthand list assignment (#50)
- Correctly mark pass-by-reference variables in use() constructs (#54)
- Support anonymous classes (#53)
- Build: rename the config files (#49)
v2.1.2
Changelog
- Remove typehints to support PHP 5 #47