added a comment - - edited
Each sub plugin of the sonar php plugin can be disactived by adding the corresponding property:
<sonar.phpUnit.shouldRun>false</sonar.phpUnit.shouldRun>
<sonar.phpPmd.shouldRun>false</sonar.phpPmd.shouldRun>
<sonar.phpCodesniffer.shouldRun>false</sonar.phpCodesniffer.shouldRun>
<sonar.phpDepend.shouldRun>false</sonar.phpDepend.shouldRun>
Sonar documentation says:
Dynamic analysis relates to unit tests execution. By default, those unit tests are executed but you can optionally decide to do only static analysis or to reuse existing unit tests reports.
is it really supposed to disactivate the unit tests plugin?
or should it have to make the phpunit use existing phpunit.xml file if exist ?
Each sub plugin of the sonar php plugin can be disactived by adding the corresponding property:
<sonar.phpUnit.shouldRun>false</sonar.phpUnit.shouldRun>
<sonar.phpPmd.shouldRun>false</sonar.phpPmd.shouldRun>
<sonar.phpCodesniffer.shouldRun>false</sonar.phpCodesniffer.shouldRun>
<sonar.phpDepend.shouldRun>false</sonar.phpDepend.shouldRun>
Sonar documentation says:
Dynamic analysis relates to unit tests execution. By default, those unit tests are executed but you can optionally decide to do only static analysis or to reuse existing unit tests reports.
is it really supposed to disactivate the unit tests plugin?
or should it have to make the phpunit use existing phpunit.xml file if exist ?