File tree Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Expand file tree Collapse file tree 2 files changed +16
-7
lines changed Original file line number Diff line number Diff line change @@ -31,17 +31,11 @@ jobs:
3131 # Run Linter
3232 run : make lint
3333
34+ # https://docs.sonarsource.com/sonarqube-cloud/enriching/test-coverage/php-test-coverage/
3435 - name : Run tests
3536 run : make test-coverage
3637
3738 - name : SonarQube Scan
3839 uses : SonarSource/sonarqube-scan-action@v5
3940 env :
4041 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
41- with :
42- # NOTE: https://sonarcloud.io/project/information?id=hexlet-boilerplates_php-package
43- args : >
44- -Dsonar.projectKey=hexlet-boilerplates_php-package
45- -Dsonar.organization=hexlet-boilerplates
46- -Dsonar.sources=src/
47- -Dsonar.php.coverage.reportPaths=build/logs/clover.xml
Original file line number Diff line number Diff line change 1+ sonar.projectKey =hexlet-boilerplates_php-package
2+ sonar.organization =hexlet-boilerplates
3+
4+
5+ # This is the name and version displayed in the SonarCloud UI.
6+ # sonar.projectName=php-package
7+ # sonar.projectVersion=1.0
8+
9+
10+ # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
11+ sonar.sources =src/
12+ sonar.php.coverage.reportPaths =build/logs/clover.xml
13+
14+ # Encoding of the source code. Default is default system encoding
15+ # sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments