Skip to content

Releases: sirbrillig/phpcs-variable-analysis

v2.11.18

18 Apr 13:39
ca242a0
Compare
Choose a tag to compare

What's Changed

  • Switch to PHPCSStandards/PHP_CodeSniffer by @jrfnl in #315
  • Make sure that recursive search of list assignments stays inside them by @sirbrillig in #318
  • Fix nullable constructor promotion detection by @sirbrillig in #321

Full Changelog: v2.11.17...v2.11.18

v2.11.18-beta.2

13 Apr 16:45
ca242a0
Compare
Choose a tag to compare
v2.11.18-beta.2 Pre-release
Pre-release

Changelog

  • Fix nullable constructor promotion detection (#321)

v2.11.18-beta.1

24 Mar 21:53
c019db0
Compare
Choose a tag to compare
v2.11.18-beta.1 Pre-release
Pre-release

This release is going out as a beta first because I am traveling and if I break something I won't be around to fix it for a while, but it probably will be fine.

Changelog

  • Make sure that recursive search of list assignments stays inside them (#318)
  • A bunch of package updates that shouldn't affect things.

v2.11.17

07 Aug 14:45
3b71162
Compare
Choose a tag to compare

Changelog

  • Do not close scope of ref reassignment when inside else (#306)

v2.11.16

31 Mar 16:47
dc5582d
Compare
Choose a tag to compare

Changelog

Arrow function scope just keeps going.

  • Allow newlines in arrow functions (#301)

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)