Releases: sirbrillig/phpcs-variable-analysis
Releases · sirbrillig/phpcs-variable-analysis
v2.10.0-beta.3
Changelog
- Fix array_walk pass-by-reference in 2.x (#216)
v2.10.0-beta.1
Changelog
This is a pretty large release which backports nearly all the improvements that have been made to the 3.0 branch back to the 2.x line, with the major exception of adding phpcsutils as a dependency (which will still be done in 3.0 and will improve accuracy and reduce the amount of code needed by this sniff when it is released).
Notable changes from 2.9 include:
- Support for PHP 7.4 arrow functions. (#179)
- Rewritten and more accurate scope detection.
- Allow undefined variables inside isset and empty (#204)
- Fix error in closures with namespace separators (#197)
- Fix complex default arguments (#198)
- Handle inline if/else (#199)
- Add allowUndefinedVariablesInFileScope option (#193)
- Add allowUnusedVariablesBeforeRequire option (#196)
- Support global scope (#190)
- Add validUndefinedVariableRegexp option (#173) <Rubén Gómez>
- Refactor and clean up reference variables (#187)
- Add special cases for variables used in else blocks (#189)
Changes that this does not include (since they are breaking changes):
v2.9.0
v3.0.0-beta.7
v3.0.0-beta.6
Changelog
- Fix performance issues around scope close detection (#200)
v3.0.0-beta.5
v3.0.0-beta.4
v3.0.0-beta.3
Changelog
- Support global scope (#190)