Skip to content

dependabot maven(deps): bump pmd.version from 7.0.0 to 7.1.0

Depen d'Abot requested to merge dependabot-maven-pmd.version-7.1.0 into master

Bumps pmd.version from 7.0.0 to 7.1.0. Updates pmd-core from 7.0.0 to 7.1.0

Release notes

Sourced from 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 pmd-java from 7.0.0 to 7.1.0

Release notes

Sourced from 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

Updates pmd-javascript from 7.0.0 to 7.1.0

Release notes

Sourced from pmd-javascript'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 pmd-jsp from 7.0.0 to 7.1.0

Release notes

Sourced from pmd-jsp'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

Merge request reports