Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 645 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 645 Bytes

This example demonstrates how to analyze a PHP project with the SonarQube Runner. It reuses existing unit test execution and code coverage reports from PHPUnit.

Prerequisites

Usage

  • In "reports/phpunit.coverage.xml", change the path "src/Math.php" to the full path of this file on your machine.

  • Analyze the project with SonarQube using the SonarQube Runner:

      sonar-runner