aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony B <56896165+TonyBgithub@users.noreply.github.com>2022-09-30 13:44:13 +0200
committerPhilippe Perrin <philippe.perrin@sonarsource.com>2022-10-07 12:13:55 +0200
commit574c51ada7d6f69c70084445ec69701b4da6f074 (patch)
treebc9e0bf13577a04b868744baf836625964a77e0e
parentfe5eb0fca6f0a31991bd20cd740d078e52bcb0fe (diff)
downloadsonarqube-574c51ada7d6f69c70084445ec69701b4da6f074.tar.gz
sonarqube-574c51ada7d6f69c70084445ec69701b4da6f074.zip
DOC-172 Update PHP test coverage docs (#6749)
-rw-r--r--server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md5
1 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md b/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md
index 751fa8e2fa4..20e0db833de 100644
--- a/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md
+++ b/server/sonar-docs/src/pages/analysis/test-coverage/php-test-coverage.md
@@ -45,9 +45,6 @@ Simply add the following to your `.github/workflows/build.yml` file:
- name: Run tests with phpunit/phpunit
run: vendor/bin/phpunit --coverage-clover=coverage.xml
-
-- name: Fix code coverage paths
- run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
```
The resulting file should look something like this:
@@ -75,8 +72,6 @@ jobs:
run: composer update --no-ansi --no-interaction --no-progress
- name: Run tests with phpunit/phpunit
run: vendor/bin/phpunit --coverage-clover=coverage.xml
- - name: Fix code coverage paths
- run: sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage.xml
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@master
env: