Cannot disable Drupal rule

Hey there.

This is as designed. You might want to chime in on this post:

This leaves you with two options:

  • Stop inheriting from the default Sonar Way
  • Excluding the rule entirely just for your project using Ignore Issues on Multiple Criteria (and setting a wildcard pattern for all files)

And, I’ll flag this for attention for someone to review whether it should be in the default profile or not. It would be great if you could give an example where it is clearly not useful, outside of Drupal code (where an issue is raised for you)