Bitbucket SonarQube PR checks not detecting errors in new lines of code

Are your branches stored in a “custom” remote? This thread comes to mind: