Skip to content

Releases: sirbrillig/phpcs-variable-analysis

v2.6.0

15 Feb 01:44
f72e025
Compare
Choose a tag to compare

Changelog

  • Enable allowUnusedForeachVariables and allowUnusedCaughtExceptions (#73)

v2.5.0

08 Feb 21:06
af81d64
Compare
Choose a tag to compare

Changelog

  • Add ignore unused foreach option (#66)
  • Allow self within class method closures (#70)
  • Document site pass by ref (#71)
  • Add allowWordPressPassByRefFunctions option (#69)

v2.4.0

03 Jan 20:07
6e022ca
Compare
Choose a tag to compare

Changelog

  • Handle variable class static refs (#63)
  • Ignore numeric variables (#61)
  • Make allowUnusedParametersBeforeUsed default to true (#59)

v2.3.0

21 Dec 21:32
Compare
Choose a tag to compare

Changelog

  • Add allowUnusedParametersBeforeUsed option (#58)

v2.2.0

26 Nov 17:08
Compare
Choose a tag to compare

Changelog

v2.1.3

15 Oct 17:34
25823a9
Compare
Choose a tag to compare

Changelog

  • Support shorthand list assignment (#50)
  • Correctly mark pass-by-reference variables in use() constructs (#54)
  • Support anonymous classes (#53)
  • Build: rename the config files (#49)

v2.1.2

08 Sep 21:33
d7652af
Compare
Choose a tag to compare

Changelog

  • Remove typehints to support PHP 5 #47

v2.1.1

06 Aug 14:39
71cbcdb
Compare
Choose a tag to compare

Changelog

  • Include parent keyword as static reference (#44)

v2.1.0

27 Apr 15:29
c1fb8f6
Compare
Choose a tag to compare

Changelog

  • Allow unused function arguments as regexp (#22)
  • Treat trait properties as definitions (#40)

v2.0.7

13 Feb 20:25
a5a01ba
Compare
Choose a tag to compare

Changelog

This fixes a major regression caused by #35.

  • Fix broken foreach variable identification (#36)