A SonarCloud user gave this feedback about the rule RSPEC-5377:
"Not applicable as it defined in parent class. And access is inherited from the parent class."
Before raising on a child class defined without sharing rules, the analyzer should check if the parent as defined sharing rules, if it the case it's compliant:
For a first improvement we decided (see comments) to simply not raise on a child class.