CHANGE @W-20621708@ - Updated PMD engine from 7.20.0 to 7.21.0#415
Merged
aruntyagiTutu merged 1 commit intodevfrom Feb 18, 2026
Merged
CHANGE @W-20621708@ - Updated PMD engine from 7.20.0 to 7.21.0#415aruntyagiTutu merged 1 commit intodevfrom
aruntyagiTutu merged 1 commit intodevfrom
Conversation
namrata111f
reviewed
Feb 18, 2026
namrata111f
approved these changes
Feb 18, 2026
## Changes ### PMD Version Update - Updated PMD from 7.20.0 to 7.21.0 across all required files - gradle/libs.versions.toml - src/constants.ts - package.json (version bumped to 0.37.0-SNAPSHOT) ### Java Dependencies - Updated junit-jupiter from 5.13.4 to 5.14.3 (latest 5.x compatible with Java 11) - Verified slf4j-nop (1.7.36) and gson (2.13.2) match PMD Core 7.21.0 ### Node Dependencies - Updated @eslint/js from 9.39.2 to 10.0.1 - Updated eslint from 9.39.2 to 10.0.0 - Updated rimraf from 6.1.2 to 6.1.3 - Updated semver from 7.7.3 to 7.7.4 - Updated typescript-eslint from 8.53.0 to 8.56.0 - Kept @types/node at 20.x (minimum customer version requirement) ### Test Updates Updated test gold files to match PMD 7.21.0 documentation improvements: - Fixed spelling: "mantain" → "maintain" (ApexSuggestUsingNamedCred) - Fixed spelling: "advices" → "advises" (ApexUnitTestMethodShouldHaveIsTestAnnotation) - Fixed spelling: "accidently" → "accidentally" (GlobalVariable) - Fixed spelling: "ECMAScipt" → "ECMAScript" (UnnecessaryBlock) - Updated FieldDeclarationsShouldBeAtStart description to note properties handling since PMD 7.21.0 ### Code Quality - Fixed ESLint errors: Added error cause chains for better debugging ### PMD 7.21.0 Changes - Apex: CPD now supports suppression via CPD-ON/CPD-OFF comments - Apex: Fixed false positive in FieldDeclarationsShouldBeAtStart rule - No breaking changes or rule count changes - All 114 tests passing ## Testing - ✅ Build successful (Java + TypeScript) - ✅ All 114 tests passing - ✅ Lint passing - ✅ Test coverage maintained
016d8ff to
20a03d5
Compare
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.
Changes
PMD Version Update
Java Dependencies
Node Dependencies
Test Updates
Updated test gold files to match PMD 7.21.0 documentation improvements:
Code Quality
PMD 7.21.0 Changes
Testing