Hello @dingo-d,
Our SonarPHP analyzer is shipped with a built-in Drupal Quality Profile, but not for Wordpress. Note that it does not mean we implemented specific rules for Drupal, just that a set of them specifically applies for Drupal projects.
We do not plan on short term to implement specific rules for Wordpress, addressing each popular PHP frameworks coding standards (of frameworks in general) would be a lot of work and a lot of maintenance.
However either existing PHP rules are good enough and it’s just a matter of creating a Quality Profile which targets Wordpress projects, or it needs some rules implementation. From our Extension guide you can figure out how to develop a plugin and how to implement rules.
I hope this helps.
Antoine