ampproject / amp-wp-qa-tester

Easily test pre-release versions of the AMP Plugin for WordPress.
Apache License 2.0
6 stars 4 forks source link

Bump sirbrillig/phpcs-variable-analysis from 2.11.2 to 2.11.9 #270

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 2 years ago

Bumps sirbrillig/phpcs-variable-analysis from 2.11.2 to 2.11.9.

Release notes

Sourced from sirbrillig/phpcs-variable-analysis's releases.

v2.11.9

Changelog

  • Prevent detecting static closures when looking for static variables (#281)

v2.11.8

Changelog

  • Fix function call detection to exclude non-function tokens (#279)

v2.11.7

Changelog

Another bug fix for a static variable regression caused by sirbrillig/phpcs-variable-analysis#267.

  • Place static arrow function body outside of scope on static declaration check (#276) Props @​arkener!

v2.11.6

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

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

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

Changelog

  • Update for Composer 2.2 (#242)
Commits
  • 6273088 Prevent detecting static closures when looking for static variables (#281)
  • aaf9022 Fix function call detection to exclude non-function tokens (#279)
  • 9f70390 Add "static analysis" Composer keyword (#278)
  • ad2b0b5 Place static arrow function body outside of scope on static declaration check...
  • e0c3d7b Fix scanning for static variables near start of file (#274)
  • f0146d7 Ignore function call arguments on static declarations processing (#273)
  • 567221e Ignore unused parameters when function in abstract class is empty (#270)
  • 0c1bfa3 Remove php_errormsg from superglobals list (#269)
  • a3e3a84 Handle inline if list destructure (#268)
  • 7c73f92 Improve static declaration checks (#267)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #313.