Hi Colin, Thanks for pointing this one out. Would this be active when using SonarCloud immediately? Or is it pending a new release? Our pipeline (using Azure DevOps) reports using version 1.33.0 of the “Run Code Analysis” task and SonarScanner 4.7.0.2747. With those we currently see those same PR comments.
Starting: SonarCloud - Code analysis
==============================================================================
Task : Run Code Analysis
Description : Run scanner and upload the results to the SonarCloud server.
Version : 1.33.0
Author : sonarsource
Help : Version: 1.33.0. This task is not needed for Maven and Gradle projects since the scanner should be run as part of the build.```
Is that fix available on SonarQube Enterprise Edition? If yes, it was introduced in what version?
I’m working with Version 9.7.1 and it still reports those false-positive
As noted before, it was fixed in SonarQube v9.8. You’re in luck – SonarQube 9.9 LTS will be released in February, and includes the fix (in all editions)!