Releases: sirbrillig/phpcs-variable-analysis
Releases · sirbrillig/phpcs-variable-analysis
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
v2.1.1
Changelog
- Include
parent
keyword as static reference (#44)
v2.1.0
Changelog
- Allow unused function arguments as regexp (#22)
- Treat trait properties as definitions (#40)
v2.0.7
Changelog
This fixes a major regression caused by #35.
- Fix broken foreach variable identification (#36)