Sonarqube Capable to Scan PHP PSR-4 Standard?

Hi Team,
I want to scan the Drupal 8 PSR-4 PHP standard project. Is sonarqube capable to scan PHP PSR-4 standard or not? If yes, how to upgrade PSR-2 to PSR-4? Please advise.

Please Ref

Sudhakar D

Hi Sudhakar,

There is a rule in SonarQube that will create a Code Smell if namespaces do not conform with PSR-4 (see This rule is active in the built-in “Drupal” quality profile and can be added to custom Quality Profiles if needed.