Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[apex] Fixes #4556 - Update Apex bind regex match for all possible combinations #4562

Merged
merged 6 commits into from Mar 14, 2024

Conversation

nwcm
Copy link
Contributor

@nwcm nwcm commented May 15, 2023

Matches variables with underscores
Matches =:food and =: foo

Describe the PR

Updates the regex for matching bind variables in string SOQL queries.

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)

Matches variables with underscores
Matches `=:food` and `=: foo`
@pmd-test
Copy link

pmd-test commented Jun 2, 2023

1 Message
📖 Compared to master:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 11 errors and 7 configuration errors.
Download full report as build artifact
Compared to master:
This changeset changes 0 violations,
introduces 0 new violations, 0 new errors and 0 new configuration errors,
removes 0 violations, 23 errors and 7 configuration errors.
Full report

Generated by 🚫 Danger

@adangel adangel changed the title Fixes 4556 - Update APEX bind regex match for all possible combinations [apex] Fixes #4556 - Update Apex bind regex match for all possible combinations Mar 14, 2024
@adangel adangel added this to the 7.0.0 milestone Mar 14, 2024
@adangel adangel marked this pull request as ready for review March 14, 2024 19:20
Copy link
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

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

Thanks!

@adangel adangel merged commit 8a4d74a into pmd:master Mar 14, 2024
3 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] UnusedLocalVariable flags for variables which are using in SOQL/SOSL binds
6 participants