WildPHP / irc-bot

A simple and modular PHP IRC bot
MIT License
84 stars 24 forks source link

Bump phpmd/phpmd from 2.8.2 to 2.9.1 #156

Closed dependabot-preview[bot] closed 3 years ago

dependabot-preview[bot] commented 3 years ago

Bumps phpmd/phpmd from 2.8.2 to 2.9.1.

Release notes

Sourced from phpmd/phpmd's releases.

PHPMD 2.9.1

Fixed

  • Fixed #714: Improved static member detection
  • Fixed #816: Fixed undefined index referring

Consult the changelog for the full history of noteworthy changes or browse through the list of commits since the last release.

Contributors to this release

We would like to thank all the contributors that helped make this release possible:

Also, we are very grateful to contributors that opened issues, created pull requests or participated as our community.

PHPMD 2.9.0

Added

  • Added #496: Add rule for PHP's @ operator
  • Added #737: Allowing custom exclusion for StaticAccess by extending the class
  • Added #749: Add allow-underscore option for CamelCaseParameterName & CamelCaseVariableName
  • Added #747: Long variable subtract suffix
  • Added #763 via #765: Added rules LongClassName and ShortClassName

Changed

Fixed

  • Fixed #743: Output for version
  • Fixed #754: Fixed #720 undefined variable in foreach when passed by reference
  • Fixed #764: Fixed #718 Handle anonymous class in "undefined variable" rule
  • Fixed #770: Fixed #769 Handle deconstruction assignation for undefined variable
  • Fixed #781: Fixed #714 static:: and self:: properties access
  • Fixed #784: Fixed #672 Handle passing-by-reference in native PHP functions
  • Fixed #793: Fixed #580 Raise UnusedFormalParameter instead UnusedLocalVariable for unused closure parameter
  • Fixed #794: Fixed #540 Detect unused variable declared multiple times
  • Fixed #805: Fixed #802 Prevent an error with nested arrays
  • Fixed #807: Fixed #790 Fix for short variables rule inside foreach statements
  • Fixed #809: Fixed #808 Ignore rule path for supression annotation
  • Updated different parts of the documentation. #717 #736 #748 #811

Deprecated

  • Deprecated all the PHPMD exceptions that aren't part of the PHPMD\Exceptions namespace. See #775

A potential BC change:

With the clean-up in #768 we have a potential BC break in an unsupported part that we want to give attention for.

The class aliases PHP_PMD_* used for PHPMD 1.x backwards PEAR compatibility were removed. If you happen to still depend on these, please adjust your code like so:

Changelog

Sourced from phpmd/phpmd's changelog.

phpmd-2.9.1 (2020/09/23)

  • Fixed #714: Improved static member detection
  • Fixed #816: Fixed undefined index referring

phpmd-2.9.0 (2020/09/02)

  • Added #496: Added rule for PHP's @ operator
  • Added #737: Allowed custom exclusion for StaticAccess by extending the class
  • Added #749: Added allow-underscore option for CamelCaseParameterName & CamelCaseVariableName
  • Added #747: Long variable subtract suffix
  • Added #763 via #765: Added rules LongClassName and ShortClassName
  • Fixed #743: Output for version
  • Fixed #754: Fixed #720 undefined variable in foreach when passed by reference
  • Fixed #764: Fixed #718 Handle anonymous class in "undefined variable" rule
  • Fixed #770: Fixed #769 Handle deconstruction assignation for undefined variable
  • Fixed #781: Fixed #714 static:: and self:: properties access
  • Fixed #784: Fixed #672 Handle passing-by-reference in native PHP functions
  • Fixed #793: Fixed #580 Raise UnusedFormalParameter instead UnusedLocalVariable for unused closure parameter
  • Fixed #794: Fixed #540 Detect unused variable declared multiple times
  • Fixed #805: Fixed #802 Prevent an error with nested arrays
  • Fixed #807: Fixed #790 Fix for short variables rule inside foreach statements
  • Fixed #809: Fixed #808 Ignore rule path for supression annotation
  • Updated different parts of the documentation. #717 #736 #748 #811
  • Changed: #529 : Replaced HTML renderer with new "pretty HTML" renderer
  • Changed: #806 : Changed #44 Change private methods to protected in rules. Make rules extendable
  • Changed: Internal code improvement #750 #752 #756 #757 #758 #759 #768 #773 #775 #785 #787 #791 #792
  • Deprecated all the PHPMD exceptions that aren't part of the PHPMD\Exceptions namespace. See #775

A potential BC change:

With the clean-up in #768 we have a potential BC break in an unsupported part that we want to give attention for.

The class aliases PHP_PMD_* used for PHPMD 1.x backwards PEAR compatibility were removed. If you happen to still depend on these, please adjust your code like so:

From PHP_PMD_[Component]_[Class]' to PHPMD\[Component]\[Class], as in PHP_PMD_Renderer_HTMLRenderer' to PHPMD\Renderer\HTMLRenderer. See #768

Commits
  • ce10831 Merge pull request #825 from phpmd/changlog-2.9.1
  • d2a4053 Merge pull request #823 from kylekatarnls/feature/issue-714-fix-member-detection
  • 5b6db17 Add Changelog for 2.9.1
  • 5c21043 Merge pull request #821 from phpmd/kylekatarnls-build-number
  • 66baea1 #714 Add dedicated unit test for call with static member
  • 3fcd159 Fix #714 Improve static member detection
  • 81bc04d Merge pull request #818 from a-menshchikov/patch-1
  • 987c488 Upgrade build version number for next patch
  • 4607d6f Fixed undefined index referring
  • 2a34657 Merge pull request #795 from TJVB/changelog_2.9.0
  • 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](https://app.dependabot.com): - 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)