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 pmd.api.version from 7.0.0 to 7.1.0 #1059

Merged
merged 2 commits into from
May 6, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 26, 2024

Bumps pmd.api.version from 7.0.0 to 7.1.0.
Updates net.sourceforge.pmd:pmd-core from 7.0.0 to 7.1.0

Release notes

Sourced from net.sourceforge.pmd:pmd-core's releases.

PMD 7.1.0 (26-April-2024)

26-April-2024 - 7.1.0

The PMD team is pleased to announce PMD 7.1.0.

This is a minor release.

Table Of Contents

🚀 New and noteworthy

More robust CPD reports

There were a number of circumstances, specially around (but not limited to) literal sequences, were CPD would report duplicate overlapping or partially overlapping matches. These have now been fixed, and CPD will report only the longest non-overlapping duplicate.

These improvements apply to all supported languages, irrespective of supported flags.

✨ New Rules

  • The new Java rule UnnecessaryVarargsArrayCreation reports explicit array creation when a varargs is expected. This is more heavy to read and could be simplified.
  • The new Java rule ConfusingArgumentToVarargsMethod reports some confusing situations where a varargs method is called with an inexact argument type. These may end up in a mismatch between the expected parameter type and the actual value.
  • The new Java rule LambdaCanBeMethodReference reports lambda expressions that can be replaced with a method reference. Please read the documentation of the rule for more info. This rule is now part of the Quickstart ruleset.

🌟 Rule Changes

🐛 Fixed Issues

  • core
    • #494: [core] Adopt JApiCmp to enforce control over API changes
    • #4942: [core] CPD: --skip-duplicate-files has no effect (7.0.0 regression)
    • #4959: [core] Upgrade saxon to 12.4
  • cli

... (truncated)

Commits
  • 592e80d [release] prepare release pmd_releases/7.1.0
  • 7d0dfa0 Prepare pmd release 7.1.0
  • 31585ac Bump build-tools from 24-SNAPSHOT to 24
  • d0870f3 [java] New rule ConfusingArgumentToVarargsMethod (#4971)
  • 04206ec Revert "[ci] Disable auto-gen-config for regression tests"
  • f5d47ac [ci] Disable auto-gen-config for regression tests
  • 102ba1e [ci] Disable auto-gen-config for regression tests
  • a154f78 [doc] Update all-contributors
  • 16df3dd [core] Make CPD report maximal, non-repeating and non-overlapping duplicates ...
  • 202943e [java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switc...
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-java from 7.0.0 to 7.1.0

Release notes

Sourced from net.sourceforge.pmd:pmd-java's releases.

PMD 7.1.0 (26-April-2024)

26-April-2024 - 7.1.0

The PMD team is pleased to announce PMD 7.1.0.

This is a minor release.

Table Of Contents

🚀 New and noteworthy

More robust CPD reports

There were a number of circumstances, specially around (but not limited to) literal sequences, were CPD would report duplicate overlapping or partially overlapping matches. These have now been fixed, and CPD will report only the longest non-overlapping duplicate.

These improvements apply to all supported languages, irrespective of supported flags.

✨ New Rules

  • The new Java rule UnnecessaryVarargsArrayCreation reports explicit array creation when a varargs is expected. This is more heavy to read and could be simplified.
  • The new Java rule ConfusingArgumentToVarargsMethod reports some confusing situations where a varargs method is called with an inexact argument type. These may end up in a mismatch between the expected parameter type and the actual value.
  • The new Java rule LambdaCanBeMethodReference reports lambda expressions that can be replaced with a method reference. Please read the documentation of the rule for more info. This rule is now part of the Quickstart ruleset.

🌟 Rule Changes

🐛 Fixed Issues

  • core
    • #494: [core] Adopt JApiCmp to enforce control over API changes
    • #4942: [core] CPD: --skip-duplicate-files has no effect (7.0.0 regression)
    • #4959: [core] Upgrade saxon to 12.4
  • cli

... (truncated)

Commits
  • 592e80d [release] prepare release pmd_releases/7.1.0
  • 7d0dfa0 Prepare pmd release 7.1.0
  • 31585ac Bump build-tools from 24-SNAPSHOT to 24
  • d0870f3 [java] New rule ConfusingArgumentToVarargsMethod (#4971)
  • 04206ec Revert "[ci] Disable auto-gen-config for regression tests"
  • f5d47ac [ci] Disable auto-gen-config for regression tests
  • 102ba1e [ci] Disable auto-gen-config for regression tests
  • a154f78 [doc] Update all-contributors
  • 16df3dd [core] Make CPD report maximal, non-repeating and non-overlapping duplicates ...
  • 202943e [java] Fix #4948 - ImplicitSwitchFallthrough false positive with nested switc...
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Bumps `pmd.api.version` from 7.0.0 to 7.1.0.

Updates `net.sourceforge.pmd:pmd-core` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](pmd/pmd@pmd_releases/7.0.0...pmd_releases/7.1.0)

Updates `net.sourceforge.pmd:pmd-java` from 7.0.0 to 7.1.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Changelog](https://github.com/pmd/pmd/blob/master/docs/render_release_notes.rb)
- [Commits](pmd/pmd@pmd_releases/7.0.0...pmd_releases/7.1.0)

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Update of dependencies java Pull requests that update Maven Java dependencies labels Apr 26, 2024
Copy link

☀️   Quality Monitor

   🚦   Tests: 100 % successful (✔️ 1277 passed, 🙈 2 skipped)
   〰️   Line Coverage: 94% (405 missed lines)
   ➰   Branch Coverage: 88% (256 missed branches)
   CheckStyle   CheckStyle: No warnings found
   PMD   PMD: No warnings found
   SpotBugs   SpotBugs: No warnings found

Created by Quality Monitor v1.8.2 (#d626b05). More details are shown in the GitHub Checks Result.

Copy link

☀️   Quality Monitor

   🚦   Tests: 100 % successful (✔️ 1277 passed, 🙈 2 skipped)
   〰️   Line Coverage: 94% (405 missed lines)
   ➰   Branch Coverage: 88% (256 missed branches)
   CheckStyle   CheckStyle: No warnings found
   PMD   PMD: No warnings found
   SpotBugs   SpotBugs: No warnings found

Created by Quality Monitor v1.8.2 (#d626b05). More details are shown in the GitHub Checks Result.

Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.79%. Comparing base (7545fb4) to head (b4f0d21).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##               main    #1059   +/-   ##
=========================================
  Coverage     90.79%   90.79%           
  Complexity     2316     2316           
=========================================
  Files           354      354           
  Lines          6526     6526           
  Branches        674      674           
=========================================
  Hits           5925     5925           
  Misses          405      405           
  Partials        196      196           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@uhafner uhafner merged commit 03ecf7c into main May 6, 2024
29 checks passed
@uhafner uhafner deleted the dependabot/maven/pmd.api.version-7.1.0 branch May 6, 2024 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Update of dependencies java Pull requests that update Maven Java dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant