Skip to content

Releases: sirbrillig/phpcs-variable-analysis

v2.11.11

12 Mar 03:14
241ddec
Compare
Choose a tag to compare

Changelog

  • Add support for enum methods (#289)

v2.11.10

06 Jan 00:50
0f25a37
Compare
Choose a tag to compare

Changelog

  • Composer: allow for the 1.0.0 version of the Composer PHPCS plugin (#287)

v2.11.9

05 Oct 23:32
6273088
Compare
Choose a tag to compare

Changelog

  • Prevent detecting static closures when looking for static variables (#281)

v2.11.8

08 Sep 22:34
aaf9022
Compare
Choose a tag to compare

Changelog

  • Fix function call detection to exclude non-function tokens (#279)

v2.11.7

16 Aug 22:24
ad2b0b5
Compare
Choose a tag to compare

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

15 Aug 15:41
e0c3d7b
Compare
Choose a tag to compare

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

14 Aug 01:48
567221e
Compare
Choose a tag to compare

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

21 Jul 20:38
e9c99cd
Compare
Choose a tag to compare

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.

v2.11.3

21 Feb 17:03
c921498
Compare
Choose a tag to compare

Changelog

  • Update for Composer 2.2 (#242)

v2.11.2

06 Jul 23:46
3fad284
Compare
Choose a tag to compare

Changelog

  • Respect ignoring undefined variables in else blocks (#239)