Table of Contents
25-April-2025 - 7.13.0-SNAPSHOT
The PMD team is pleased to announce PMD 7.13.0-SNAPSHOT.
This is a minor release.
π New and noteworthy
β¨ New Rules
- The new Apex rule
TypeShadowsBuiltInNamespace
finds Apex classes, enums, and interfaces that have the same name as a class, enum, or interface in theSystem
orSchema
namespace. Shadowing these namespaces in this way can lead to confusion and unexpected behavior.
π Fixed Issues
- core
- apex-bestpractices
- #5667: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative when seeAllData parameter is a string
- apex-errorprone
- #3184: [apex] Prevent classes from shadowing System Namespace
- java
- #5645: [java] Parse error on switch with yield
- java-bestpractices
- #5687: [java] UnusedPrivateMethodRule: exclude serialization method readObjectNoData()
π¨ API Changes
β¨ Merged pull requests
- #5450: Fix #3184: [apex] New Rule: TypeShadowsBuiltInNamespace - Mitch Spano (@mitchspano)
- #5573: Fix #5525: [core] Add Sarif Level Property - julees7 (@julees7)
- #5672: [doc] Fix its/itβs and doable/double typos - John Jetmore (@jetmore)
- #5684: Fix #5667: [apex] ApexUnitTestShouldNotUseSeeAllDataTrue false negative when seeAllDate parameter is a string - Thomas Prouvot (@tprouvot)
- #5685: [doc] typo fix in PMD Designer reference - Douglas Griffith (@dwgrth)
- #5687: [java] UnusedPrivateMethodRule: exclude serialization method readObjectNoData() - Gili Tzabari (@cowwoc)