NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #596 most downloaded on Packagist
A PHPCS sniff to detect problems with variables.
Latest stable
v3.0.0
Last release 3 months ago
27 Jul 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 56 of 57 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
74 releases · first in 2017
Drag across the ruler to compare, or tap a release to open it.
Option for undefined vars (#56) (props @brandonkal)
Support shorthand list assignment
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Remove typehints to support PHP 5 #47
Include parent keyword as static reference
parent keyword as static reference (#44)Allow unused function arguments as regexp
This fixes a major regression caused by #35.
This fixes a major regression caused by #35.
foreach variable identification (#36). Fixes a major regression caused by #35.⚠️ DO NOT USE THIS VERSION, IT HAS A MAJOR REGRESSION FIXED IN 2.0.7 ⚠️
⚠️ DO NOT USE THIS VERSION, IT HAS A MAJOR REGRESSION FIXED IN 2.0.7 ⚠️
Fix recognition of static variable functions
Lib directory and namespace (#28)$this (#25)$this (#25).Lib directory and namespace (#28).Allow using $this in closures (see #20)
$this in closures (see #20)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 a
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.
This release just disables the roave/security-advisories dependency because it requires that developers using this package add additional lines to the
This release just disables the roave/security-advisories dependency because it requires that developers using this package add additional lines to their composer.json.
roave/security-advisories dependency because it required developers to add additional lines to their composer.json.This release should re-enable sniffs that were accidentally disabled, particularly unused function arguments.
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!
This release just changes the organization of the source such that it can be more easily referenced in a ruleset. See #2
This release just changes the organization of the source such that it can be more easily referenced in a ruleset. See #2
Nothing published for this version
One column per quarter.