Skip to content

chore(deps): bump pmd.version from 7.24.0 to 7.25.0 in /ddk-parent#1374

Merged
rubenporras merged 2 commits into
masterfrom
dependabot/maven/ddk-parent/pmd.version-7.25.0
Jun 1, 2026
Merged

chore(deps): bump pmd.version from 7.24.0 to 7.25.0 in /ddk-parent#1374
rubenporras merged 2 commits into
masterfrom
dependabot/maven/ddk-parent/pmd.version-7.25.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 29, 2026

Copy link
Copy Markdown
Contributor

Bumps pmd.version from 7.24.0 to 7.25.0.
Updates net.sourceforge.pmd:pmd-core from 7.24.0 to 7.25.0

Release notes

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

PMD 7.25.0 (29-May-2026)

29-May-2026 - 7.25.0

The PMD team is pleased to announce PMD 7.25.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

Updated ANTLR library to 4.13.2

We have updated the ANTLR library (parser generator) from 4.9.3 to the latest version 4.13.2, in order to be able to use the latest version of Apex parser library.

This is an incompatible update: In case you use custom language modules based on ANTLR, you need to make sure to regenerate all of your lexers and parsers with the new ANTLR version.

For the ANTLR based language modules, that PMD ships (kotlin and swift and various CPD modules), this is already done.

🌟️ New and Changed Rules

New Rules

  • The new Java rule JUnitJupiterTestNoPrivateModifier find JUnit test classes and methods that are private. Test classes, test methods, and lifecycle methods are not required to be public, but they must not be private. Otherwise, they won’t be found by the test framework.
  • The new Java rule UnnecessaryBlock reports blocks that are unnecessary as they don't introduce a new scope. This rule helps simplify code structure by identifying and flagging redundant blocks that can make code harder to read and may be misleading.
  • The new Java rule VariableDeclarationUsageDistance flags local variables that are declared far from their usage, which can make code harder to read. The rule has a property maxDistance that allows to configure the maximum allowed distance between declaration and usage.
  • The new Java rule AssertStatementInTest detects usages of assert statement in tests. These should be replaced by framework assertion methods such as assertEquals.

... (truncated)

Commits
  • 418f8b7 [release] prepare release pmd_releases/7.25.0
  • ba31ce2 Prepare pmd release 7.25.0
  • ced4fdc Update contributors for 7.25.0
  • 3c65361 chore(deps-dev): bump build-tools from 37 to 38 (#6729)
  • f60c490 chore(deps-dev): bump build-tools from 37 to 38
  • 6736c60 [java] UnnecessaryBooleanAssertion: Use InvocationMatcher to find assertions ...
  • 3f1de35 [doc] Update release notes (#6712)
  • 25f30fe [java] Fix #4350: Fix ClassNamingConventions by teaching TestFrameworkUtil ab...
  • f306438 [java] Part of #4841: Deprecate unnecessary public methods in FieldDeclaratio...
  • ca5bfe4 [java] Fix #6719: UseStandardCharsets UTF-32 on Java >= 22 (#6726)
  • Additional commits viewable in compare view

Updates net.sourceforge.pmd:pmd-java from 7.24.0 to 7.25.0

Release notes

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

PMD 7.25.0 (29-May-2026)

29-May-2026 - 7.25.0

The PMD team is pleased to announce PMD 7.25.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

Updated ANTLR library to 4.13.2

We have updated the ANTLR library (parser generator) from 4.9.3 to the latest version 4.13.2, in order to be able to use the latest version of Apex parser library.

This is an incompatible update: In case you use custom language modules based on ANTLR, you need to make sure to regenerate all of your lexers and parsers with the new ANTLR version.

For the ANTLR based language modules, that PMD ships (kotlin and swift and various CPD modules), this is already done.

🌟️ New and Changed Rules

New Rules

  • The new Java rule JUnitJupiterTestNoPrivateModifier find JUnit test classes and methods that are private. Test classes, test methods, and lifecycle methods are not required to be public, but they must not be private. Otherwise, they won’t be found by the test framework.
  • The new Java rule UnnecessaryBlock reports blocks that are unnecessary as they don't introduce a new scope. This rule helps simplify code structure by identifying and flagging redundant blocks that can make code harder to read and may be misleading.
  • The new Java rule VariableDeclarationUsageDistance flags local variables that are declared far from their usage, which can make code harder to read. The rule has a property maxDistance that allows to configure the maximum allowed distance between declaration and usage.
  • The new Java rule AssertStatementInTest detects usages of assert statement in tests. These should be replaced by framework assertion methods such as assertEquals.

... (truncated)

Commits
  • 418f8b7 [release] prepare release pmd_releases/7.25.0
  • ba31ce2 Prepare pmd release 7.25.0
  • ced4fdc Update contributors for 7.25.0
  • 3c65361 chore(deps-dev): bump build-tools from 37 to 38 (#6729)
  • f60c490 chore(deps-dev): bump build-tools from 37 to 38
  • 6736c60 [java] UnnecessaryBooleanAssertion: Use InvocationMatcher to find assertions ...
  • 3f1de35 [doc] Update release notes (#6712)
  • 25f30fe [java] Fix #4350: Fix ClassNamingConventions by teaching TestFrameworkUtil ab...
  • f306438 [java] Part of #4841: Deprecate unnecessary public methods in FieldDeclaratio...
  • ca5bfe4 [java] Fix #6719: UseStandardCharsets UTF-32 on Java >= 22 (#6726)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels May 29, 2026
rubenporras
rubenporras previously approved these changes May 29, 2026
@rubenporras rubenporras enabled auto-merge (squash) May 29, 2026 13:48
Bumps `pmd.version` from 7.24.0 to 7.25.0.

Updates `net.sourceforge.pmd:pmd-core` from 7.24.0 to 7.25.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.24.0...pmd_releases/7.25.0)

Updates `net.sourceforge.pmd:pmd-java` from 7.24.0 to 7.25.0
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.24.0...pmd_releases/7.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/maven/ddk-parent/pmd.version-7.25.0 branch from f4bd2cf to 092f307 Compare May 29, 2026 14:01
rubenporras
rubenporras previously approved these changes May 29, 2026
…eadRun

PMD 7.25.0 renamed JUnit5TestShouldBePackagePrivate to
JUnitJupiterTestShouldBePackagePrivate. The category exclude referenced
the old name, which silently stopped matching after the rename, so the
rule reactivated and flagged every JUnit 5 test across the test bundles.
Update the exclude to the new name to restore the intended suppression.

7.25.0 also fixed false negatives in OverridingThreadRun, which now
correctly detects BuilderWatchdog overriding Thread.run(). BuilderWatchdog
is intentionally a Thread subclass (named thread, start()/interrupt()
lifecycle driven by MonitoredClusteringBuilderState), so suppress the rule
at that single site rather than refactoring threading behaviour under a
dependency bump.

Verified with a full-reactor `mvn pmd:check`: BUILD SUCCESS.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@joaodinissf joaodinissf force-pushed the dependabot/maven/ddk-parent/pmd.version-7.25.0 branch from 7a388f8 to cf5fcb1 Compare May 29, 2026 17:42
@rubenporras rubenporras merged commit 248cd30 into master Jun 1, 2026
4 checks passed
@rubenporras rubenporras deleted the dependabot/maven/ddk-parent/pmd.version-7.25.0 branch June 1, 2026 07: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 java Pull requests that update Java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants