Hi,
SonarCloud is setup to use on bitbucket for PRs. But currently, when commiting code, which is non compliant with Sonar rules, PR analysis does not show any issue.
Here is an example, for the Rule: An open curly brace should be located at the end of a line.
When I commit PR with code like this :
To be clear, were all the lines in your example added/edited in the PR? PR analysis only shows issues on code changed in the PR.
If it is the case that all the lines are “new” (added or edited in the PR) then this is a question of the detection of new code. To dig into that, we’ll need your analysis log.
The analysis / scanner log is what’s output from the analysis command. Hopefully, the log you provide - redacted as necessary - will include that command as well.