Repository navigation
CHANGE @W-24708955@ Upgrade PMD from 7.26.0 to 7.29.0 - #523
Merged
nikhil-mittal-165 merged 1 commit intoNov 26, 2026
Merged
Conversation
- Updated PMD from 7.26.0 to 7.29.0 - Updated gson 2.14.0 -> 2.15.0 (matches PMD's parent pom); JUnit stays at 5.14.4 - Switched @nullable import to checker-qual (PMD 7.29.0 PmdReporter signature change) - Excluded org.junit.platform from pmd-test (7.29.0 pulls in junit-platform-launcher 6.x, Java 17+) - Mapped new Apex rule ApexUnitTestClassShouldHaveRunRelevantTestsAnnotation (Low, not Recommended) - Updated tests for PMD behaviour changes (CPD HTML endLine fix, empty Apex files no longer error) - Bumped package version to 0.48.0-SNAPSHOT Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Git2Gus App is installed but the |
aruntyagiTutu
approved these changes
Nov 26, 2026
Contributor
Author
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades the PMD engine from 7.26.0 to 7.29.0 (@W-24708955@).
Changes
constants.ts,libs.versions.toml); package version bumped to0.48.0-SNAPSHOT.@Nullableimport: PMD 7.29.0'sPmdReporternow usesorg.checkerframework.checker.nullness.qual.Nullableinstead ofjavax.annotation.Nullable. UpdatedCpdRunner.javaandPmdRuleDescriber.java, otherwise:pmd-cpd-wrappers:compileJavafails.pmd-test7.29.0 now pulls injunit-platform-launcher6.x (Java 17+). Excluded grouporg.junit.platformfrompmd-testinpmd-rules/build.gradle.kts; the launcher is still supplied through our owntestRuntimeOnly.ApexUnitTestClassShouldHaveRunRelevantTestsAnnotation. Mapped as Low severity, NOT Recommended, because it targets a Beta feature (API v66.0+,RunRelevantTests). Added topmd-rule-mappings.tsand therules_apexOnlygoldfile.samplePmdWorkspace/dummy.clsnow contains invalid Apex so the "unparseable file surfaces an error" assertion stays strict.Testing
npm testinpackages/code-analyzer-pmd-engine: Java tests pass, TypeScript 8 suites / 152 tests pass.AvoidInlineStylesdelta under investigation.🤖 Generated with Claude Code