Skip to content

Releases: sirbrillig/phpcs-variable-analysis

v2.11.15

31 Mar 15:28
bdf1e50
Compare
Choose a tag to compare

Changelog

  • Fix scope closer detection in arrow function detection (#298)

v2.11.14

30 Mar 23:13
4cca2aa
Compare
Choose a tag to compare

Changelog

  • Use custom logic for finding arrow function scope (#296)

v2.11.13

30 Mar 21:27
11b9433
Compare
Choose a tag to compare

Changelog

  • Support readonly constructor promotion (#294).

v2.11.12

13 Mar 14:55
d8a00fb
Compare
Choose a tag to compare

Changelog

  • Allow non-enum tokens called 'enum' (#293)

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)