rubydre:S7905 false positive

Thanks a lot for the new rules!

We seem to have a problem with rule rubydre:S7905: SonarQube

It throws a false positive at this line:

class ApplicationController < ActionController::Base

But of course this is the declaration of the ApplicationController itself so it could not use itself as a base class.

1 Like

Hello @vc-jl,

Welcome and thank you for reporting this false positive!

I can confirm this is a false positive. I have created a ticket in our internal backlog to fix it.
It should make it to the next release.

Have a nice day!

1 Like