Skip to content

Conversation

@gregory-paidis-sonarsource
Copy link
Contributor

Fixes #6633

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@sonarqubecloud
Copy link


string s24 = $"{{{nonConstOne}}}"; // Noncompliant FP
// Noncompliant@-1 FP
string s24 = $"{{{nonConstOne}}}"; // Compliant
Copy link
Contributor Author

Choose a reason for hiding this comment

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

All these do not contain SQL keywords, so now they are correctly compliant.

Copy link
Member

Choose a reason for hiding this comment

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

LGTM!

@costin-zaharia-sonarsource costin-zaharia-sonarsource merged commit 0400e52 into master Mar 21, 2024
@costin-zaharia-sonarsource costin-zaharia-sonarsource deleted the greg/fix-S2857-FP branch March 21, 2024 16:20
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.

Fix S2857 FP: Rule is not checking SQL keywords in const interepolated string

2 participants