Skip to content

build(deps): Bump pmd.version from 7.24.0 to 7.25.0#3

Merged
sfc-gh-pvillard merged 1 commit into
mainfrom
dependabot/maven/pmd.version-7.25.0
May 30, 2026
Merged

build(deps): Bump pmd.version from 7.24.0 to 7.25.0#3
sfc-gh-pvillard merged 1 commit into
mainfrom
dependabot/maven/pmd.version-7.25.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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 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 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.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 @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 29, 2026

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@github-actions github-actions Bot added the infra label May 29, 2026
@sfc-gh-pvillard sfc-gh-pvillard merged commit e3d938e into main May 30, 2026
8 checks passed
@sfc-gh-pvillard sfc-gh-pvillard deleted the dependabot/maven/pmd.version-7.25.0 branch May 30, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant