Releases: sirbrillig/phpcs-variable-analysis
Releases · sirbrillig/phpcs-variable-analysis
v2.11.13
Changelog
- Support readonly constructor promotion (#294).
v2.11.12
Changelog
- Allow non-enum tokens called 'enum' (#293)
v2.11.11
Changelog
- Add support for enum methods (#289)
v2.11.10
Changelog
- Composer: allow for the 1.0.0 version of the Composer PHPCS plugin (#287)
v2.11.9
Changelog
- Prevent detecting static closures when looking for static variables (#281)
v2.11.8
Changelog
- Fix function call detection to exclude non-function tokens (#279)
v2.11.7
Changelog
Another bug fix for a static
variable regression caused by #267.
- Place static arrow function body outside of scope on static declaration check (#276) Props @arkener!
v2.11.6
Changelog
This is a bug fix release for two regressions caused by the new static function variable scanning added in #267.
- Ignore function call arguments on static declarations processing (#273) props @arkener!
- Fix scanning for static variables near start of file (#274)
v2.11.5
Changelog
- Allow for loop increment expression to use variable defined inside loop (#262)
- Support constructor promotion (#266)
- Improve static declaration checks (#267)
- Handle inline if list destructure (#268)
- Remove php_errormsg from superglobals list (#269)
- Ignore unused parameters when function in abstract class is empty (#270)
v2.11.4
Changelog
Mostly a bunch of housekeeping changes internal to the codebase, but this does include a fix for a deprecation notice in PHP 8.2.