Releases: sirbrillig/phpcs-variable-analysis
Releases · sirbrillig/phpcs-variable-analysis
v2.11.6
15 Aug 15:41
Compare
Sorry, something went wrong.
No results found
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 )
v2.11.5
14 Aug 01:48
Compare
Sorry, something went wrong.
No results found
Changelog
Allow for loop increment expression to use variable defined inside loop (#262 )
Support constructor promotion (#266 )
Improve static declaration checks (#267 )
Handle inline if list destructure (#268 )
Remove php_errormsg from superglobals list (#269 )
Ignore unused parameters when function in abstract class is empty (#270 )
v2.11.4
21 Jul 20:38
Compare
Sorry, something went wrong.
No results found
Changelog
Mostly a bunch of housekeeping changes internal to the codebase, but this does include a fix for a deprecation notice in PHP 8.2.
v2.11.3
21 Feb 17:03
Compare
Sorry, something went wrong.
No results found
Changelog
Update for Composer 2.2 (#242 )
v2.11.2
06 Jul 23:46
Compare
Sorry, something went wrong.
No results found
Changelog
Respect ignoring undefined variables in else blocks (#239 )
v2.11.1
18 Jun 20:58
Compare
Sorry, something went wrong.
No results found
Changelog
Allow parsing mixed HTML and PHP (#234 and #236 )
Ignore double assignment by reference if second is inside condition (#235 )
v2.11.0
15 Mar 19:22
Compare
Sorry, something went wrong.
No results found
Changelog
Start inline block scope at end of condition rather than at keyword (#230 )
Add allowUnusedVariablesInFileScope option (#229 )
v2.10.3-beta.1
09 Mar 22:33
Compare
Sorry, something went wrong.
No results found
Changelog
Start inline block scope at end of condition rather than at keyword (#230 )
Add allowUnusedVariablesInFileScope option (#229 )
v2.10.2
18 Jan 16:24
Compare
Sorry, something went wrong.
No results found
Changelog
Treat writing to a by-reference foreach loop variable as a read (#221 ) (props to @MPParsley for finding this bug!)
Properly detect variables used in quotes inside arrow functions (#222 ) (props to @ocean90 for finding this bug!)
v2.10.2-beta.1
30 Dec 23:11
Compare
Sorry, something went wrong.
No results found
Changelog
Treat writing to a by-reference foreach loop variable as a read (#221 ) (props to @MPParsley for finding this bug!)
Properly detect variables used in quotes inside arrow functions (#222 ) (props to @ocean90 for finding this bug!)