Skip to content

[apex] Fix #2955: ApexSOQLInjection: False positive when concatenating strings - #6765

Merged
adangel merged 5 commits into
pmd:mainfrom
lukasgraef:issue2955
Jun 12, 2026
Merged

adangel merged 5 commits into
pmd:mainfrom
lukasgraef:issue2955

Conversation

@lukasgraef

@lukasgraef lukasgraef commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Describe the PR

Decided to tackle this since it's one of our most upvoted issues...

Related issues

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@pmd-actions-helper

pmd-actions-helper Bot commented Jun 7, 2026 •

Copy link
Copy Markdown
Contributor

Documentation Preview

Compared to main:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 24 errors and 9 configuration errors.
There are 0 changed duplications, 0 new duplications and 0 removed duplications.
There are 0 changed CPD errors, 0 new CPD errors and 0 removed CPD errors.

Regression Tester Report

(comment created at 2026-06-12 09:18:55+00:00 for 0d092fb)

@lukasgraef
lukasgraef marked this pull request as ready for review June 7, 2026 17:00

@adangel adangel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

I'll take care of merging this

Comment thread docs/pages/release_notes.md Resolved
@adangel adangel added this to the 7.26.0 milestone Jun 12, 2026
@adangel
adangel merged commit 5e62e72 into pmd:main Jun 12, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[apex] ApexSOQLInjection: False positive when passing local var with concatenating strings

2 participants