Skip to content

Bump net.sourceforge.pmd:pmd-java from 7.25.0 to 7.26.0 - #3303

Merged
reta merged 1 commit into
mainfrom
dependabot/maven/net.sourceforge.pmd-pmd-java-7.26.0
Aug 24, 2026
Merged

Bump net.sourceforge.pmd:pmd-java from 7.25.0 to 7.26.0#3303
reta merged 1 commit into
mainfrom
dependabot/maven/net.sourceforge.pmd-pmd-java-7.26.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 10, 2026

Copy link
Copy Markdown
Contributor

Bumps net.sourceforge.pmd:pmd-java from 7.25.0 to 7.26.0.

Release notes

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

PMD 7.26.0 (29-June-2026)

29-June-2026 - 7.26.0

The PMD team is pleased to announce PMD 7.26.0.

This is a minor release.

Table Of Contents

🚀️ New and noteworthy

Swift Changes

The Swift parser now forwards syntax errors as usual processing errors. Before it just logged any errors and tried to move on, resulting in an incomplete AST with error nodes. As part of this change, the grammar has been slightly improved around macro declarations, generic parameters and parameter packs.
This means that PMD might fail now on Swift files with processing errors, when it previously ran without obvious problems. The Swift module in PMD now behaves like other modules in regard to error handling.

Updated PMD Designer

This PMD release ships a new version of the pmd-designer. For the changes, see PMD Designer Changelog (7.19.3).

🌟️ New and Changed Rules

New Rules

  • The new Java rule WrongTestAnnotation detects when test annotations from the wrong testing framework (JUnit 4, JUnit Jupiter, or TestNG) are used in your code, preventing tests from being silently skipped due to framework mismatches. This helps avoid the silent failure where tests compile but don't execute because the test runner doesn't recognize the annotation.
  • The new Java rule AssertEqualsArgumentOrder detects assertions where the expected and actual arguments were swapped. This helps find assertions that are producing a confusing error message when they fail.
  • The new Kotlin rule LocalVariableShadowsParameter detects local variable declarations that use the same name as a parameter of the enclosing function. This shadows the parameter and may lead to confusion about which value is used.
  • The new Apex rule InvocableClassNoArgConstructor detects classes that use @InvocableVariable properties, but that don't provide a no-arg constructor. Without such a constructor,

... (truncated)

Commits
  • 8fd38ed [release] prepare release pmd_releases/7.26.0
  • 9a1791a Prepare pmd release 7.26.0
  • 5d38f78 Update contributors for 7.26.0
  • 07bab85 [java] Fix #6627: UnusedPrivateMethod: add javax to ignored annotations (#6821)
  • b886772 [java] AvoidDeepNestedIfStmts: count ifs properly in else branch (#6814)
  • 62afded Merge branch 'main' into pr-6814
  • 4c54901 [doc] Update release notes (#6814)
  • 99a8d9c Update pmd-java/src/main/java/net/sourceforge/pmd/lang/java/rule/design/Avoid...
  • dbdec25 [java] Fix #6740: Fix FP in OptimizableToArrayCall (#6813)
  • 41f0d39 [java] Rename ASTMethodDeclaration#isOverridden() to isOverride() (#6812)
  • 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 Jul 10, 2026
@reta

reta commented Aug 24, 2026

Copy link
Copy Markdown
Member

@dependabot rebase please

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

---
updated-dependencies:
- dependency-name: net.sourceforge.pmd:pmd-java
  dependency-version: 7.26.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/net.sourceforge.pmd-pmd-java-7.26.0 branch from 1d371ee to 864945e Compare August 24, 2026 16:34
@reta
reta merged commit f304f2d into main Aug 24, 2026
5 checks passed
@dependabot
dependabot Bot deleted the dependabot/maven/net.sourceforge.pmd-pmd-java-7.26.0 branch August 24, 2026 17:59
reta pushed a commit that referenced this pull request Aug 24, 2026
Bumps [net.sourceforge.pmd:pmd-java](https://github.com/pmd/pmd) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/pmd/pmd/releases)
- [Commits](pmd/pmd@pmd_releases/7.25.0...pmd_releases/7.26.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit f304f2d)
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.

1 participant