#!/bin/bash

bin/phpunit --coverage-clover=coverage.clover.xml --log-junit log.junit.xml

sonar-scanner \
  -Dsonar.projectKey=<projectKey> \
  -Dsonar.sources=src/ \
  -Dsonar.host.url=<sonarHost> \
  -Dsonar.login=<accessToken> \
  -Dsonar.php.tests.reportPath=log.junit.xml \
  -Dsonar.php.coverage.reportPaths=coverage.clover.xml

Meta

Created:

Updated: 07/02/2019 18:07