Skip to content

Conversation

@dependabot-preview
Copy link
Contributor

Bumps sirbrillig/phpcs-variable-analysis from 2.8.0 to 2.10.1.

Release notes

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

v2.10.1

Changelog

This is just a performance enhancement for certain nested list detection. In at least one example file, this brings the speed from 7 minutes down to 0.3 seconds. 😱

  • Only check one parent for recursive list assignment (#218)

v2.10.0

Changelog

This is a pretty large release which backports nearly all the improvements that have been made to the 3.0 branch back to the 2.x line, with the major exception of adding phpcsutils as a dependency (which will still be done in 3.0 and will improve accuracy and reduce the amount of code needed by this sniff when it is released).

Notable changes from 2.9 include:

  • Fix array_walk pass-by-reference in 2.x (#216)
  • Support for PHP 7.4 arrow functions. (#179)
  • Rewritten and more accurate scope detection.
  • Allow undefined variables inside isset and empty (#204)
  • Fix error in closures with namespace separators (#197)
  • Fix complex default arguments (#198)
  • Handle inline if/else (#199)
  • Add allowUndefinedVariablesInFileScope option (#193)
  • Add allowUnusedVariablesBeforeRequire option (#196)
  • Support global scope (#190)
  • Add validUndefinedVariableRegexp option (#173)
  • Refactor and clean up reference variables (#187)
  • Add special cases for variables used in else blocks (#189)

Changes that this does not include (since they are breaking changes):

  • Replace UnusedVariable with UnusedParameter for parameters (#195)
  • Add sniff codes for array assignment shortcut (#205)

v2.10.0-beta.3

Changelog

  • Fix array_walk pass-by-reference in 2.x (#216)

v2.10.0-beta.1

Changelog

This is a pretty large release which backports nearly all the improvements that have been made to the 3.0 branch back to the 2.x line, with the major exception of adding phpcsutils as a dependency (which will still be done in 3.0 and will improve accuracy and reduce the amount of code needed by this sniff when it is released).

Notable changes from 2.9 include:

  • Support for PHP 7.4 arrow functions. (#179)
  • Rewritten and more accurate scope detection.
  • Allow undefined variables inside isset and empty (#204)
  • Fix error in closures with namespace separators (#197)
  • Fix complex default arguments (#198)
Commits
  • c6716a9 Only check one parent for recursive list assignment (#218)
  • 5048655 Fix array_walk pass-by-reference in 2.x (#216)
  • 26f24af Remove UndefinedArrayVariable as it is a breaking change
  • a12284e Merge branch '2.10' of github.com:sirbrillig/phpcs-variable-analysis into 2.10
  • d2d1d7e Remove UnusedParameter, since it is a breaking change
  • 70c8f4c Remove 3.0 README notice
  • bcb9c56 Backport all of 3.0 to 2.x without phpcsutils (#213)
  • d7bfb29 Update 2.x README link to point to new legacy branch
  • 70b296b Mark concatenation inside another expression as variable read (#186)
  • c4fb5ee Add tests for if/loop condition undefined array (#211)
  • 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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [sirbrillig/phpcs-variable-analysis](https://github.com/sirbrillig/phpcs-variable-analysis) from 2.8.0 to 2.10.1.
- [Release notes](https://github.com/sirbrillig/phpcs-variable-analysis/releases)
- [Commits](sirbrillig/phpcs-variable-analysis@v2.8.0...v2.10.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview
Copy link
Contributor Author

Superseded by #91.

@dependabot-preview dependabot-preview bot deleted the dependabot/composer/sirbrillig/phpcs-variable-analysis-2.10.1 branch January 19, 2021 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant