Skip to content

Releases: sirbrillig/phpcs-variable-analysis

v2.0.6

12 Feb 23:49
793a6d4
Compare
Choose a tag to compare

⚠️ DO NOT USE THIS VERSION, IT HAS A MAJOR REGRESSION FIXED IN 2.0.7 ⚠️

Changelog

  • Allow list to declare vars in foreach (#35)

v2.0.5

09 Feb 18:05
3245849
Compare
Choose a tag to compare

Changelog

  • Fix recognition of static variable functions (#27)
  • Simplify handling static variables (#32)
  • Clean up more code (#30)
  • Remove null coalesce (#31)
  • Clean up code style (#29)
  • Move library files to the Lib directory and namespace (#28)
  • Allow Traits to use $this (#25)
  • Tests: Move phpunit config from composer script to config file (#24)
  • Tests: sort line numbers (#23)

v2.0.4

20 Dec 17:54
457183f
Compare
Choose a tag to compare

Changelog

  • Allow using $this in closures (see #20)

v2.0.3

13 Dec 23:21
43713f0
Compare
Choose a tag to compare

This release fixes a bug that would sometimes occur in atoum tests where a variable was used within the same parenthesis-wrapped expression (eg: the arguments of a function call), but after a comma. For example,

doSomething($foo = 1, getSomething($foo))

See #13 for details.

v2.0.2

04 Dec 22:04
Compare
Choose a tag to compare

This release just disables the roave/security-advisories dependency because it requires that developers using this package add additional lines to their composer.json.

v2.0.1

12 Nov 20:05
Compare
Choose a tag to compare

This release should re-enable sniffs that were accidentally disabled, particularly unused function arguments.

Many thanks to @GaryJones for noticing that bug and some clean-up to the composer file!

v2.0

03 Nov 18:10
ab74603
Compare
Choose a tag to compare

This release just changes the organization of the source such that it can be more easily referenced in a ruleset. See #2

v1.0

01 Nov 17:42
Compare
Choose a tag to compare

Initial release.