Branch: refs/heads/main
  Home:   https://github.com/pmd/pmd
  Commit: 2c829a3d033f8e62723eab9ea3162639fd636b8e
      https://github.com/pmd/pmd/commit/2c829a3d033f8e62723eab9ea3162639fd636b8e
  Author: Taran <[email protected]>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M docs/pages/release_notes.md
    M 
pmd-apex/src/main/java/net/sourceforge/pmd/lang/apex/rule/bestpractices/ApexUnitTestShouldNotUseSeeAllDataTrueRule.java
    M 
pmd-apex/src/test/resources/net/sourceforge/pmd/lang/apex/rule/bestpractices/xml/ApexUnitTestShouldNotUseSeeAllDataTrue.xml

  Log Message:
  -----------
  [apex] Fix ApexUnitTestShouldNotUseSeeAllDataTrue violation location (#6955)

* [apex] Fix ApexUnitTestShouldNotUseSeeAllDataTrue violation location

The rule reported the violation on the whole class or method node
instead of the offending seeAllData annotation parameter, which
made the highlighted range span the entire test method in editor
integrations. Report the violation on the parameter node itself and
update the expected line numbers in the rule's test data accordingly.

Fixes #5904

* [docs] Update release notes

---------

Co-authored-by: Sören Glimm <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/pmd/pmd/settings/notifications


_______________________________________________
Pmd-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmd-commits

Reply via email to