SonarQube PHP //@codingStandardsIgnoreStart / End equivalent code block ignore -


i'm analyzing php project sonarqube 6.4 using php plugin , while develop, use psr2 //@codingstandardsignorestart //@codingstandardsignoreend in order ignore broken rules in block of code. lavels not working sonarqube analysis , nosonar works line of code far know. want ignore way block of code.

i saw sonarqube had similar in past using //checkstyle:off / on. there way sonarqube 6.4 version php projects?

thank you.

no, not possible exclude areas of code analysis.

you can, however

  • mark issues false-positive or won't fix in sonarqube ui
  • mark lines nosonar comment
  • exclude whole files analysis

see the official faq more details.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

.htaccess - ERR_TOO_MANY_REDIRECTS htaccess -