Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump sirbrillig/phpcs-variable-analysis from 2.9.0 to 2.10.0 #5664

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Dec 7, 2020

Bumps sirbrillig/phpcs-variable-analysis from 2.9.0 to 2.10.0.

Release notes

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

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)
  • 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)
Commits
  • 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)
  • a07fe65 Add UndefinedUnsetVariable sniff code (#208)
  • 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 will not automatically merge this PR because it includes an out-of-range update to a development dependency.


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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Dec 7, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2020

Plugin builds for 1d217c8 are ready 🛎️!

@dependabot-preview dependabot-preview bot force-pushed the dependabot/composer/sirbrillig/phpcs-variable-analysis-2.10.0 branch from 6f0cc94 to 1d217c8 Compare December 7, 2020 22:26
@westonruter westonruter added this to the v2.1 milestone Dec 7, 2020
@dependabot-preview dependabot-preview bot merged commit 58b3b72 into develop Dec 7, 2020
@dependabot-preview dependabot-preview bot deleted the dependabot/composer/sirbrillig/phpcs-variable-analysis-2.10.0 branch December 7, 2020 22:32
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 php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant