add sonar config files
This commit is contained in:
parent
d9165f00fa
commit
6a7594630c
|
|
@ -18,6 +18,7 @@ vendor
|
||||||
/.settings
|
/.settings
|
||||||
phpword.ini
|
phpword.ini
|
||||||
/.buildpath
|
/.buildpath
|
||||||
|
/.scannerwork
|
||||||
/.project
|
/.project
|
||||||
/nbproject
|
/nbproject
|
||||||
/.php_cs.cache
|
/.php_cs.cache
|
||||||
|
|
|
||||||
|
|
@ -23,5 +23,6 @@
|
||||||
<logging>
|
<logging>
|
||||||
<log type="coverage-html" target="./build/coverage" />
|
<log type="coverage-html" target="./build/coverage" />
|
||||||
<log type="coverage-clover" target="./build/logs/clover.xml" />
|
<log type="coverage-clover" target="./build/logs/clover.xml" />
|
||||||
|
<log type="junit" target="./build/logs/logfile.xml"/>
|
||||||
</logging>
|
</logging>
|
||||||
</phpunit>
|
</phpunit>
|
||||||
|
|
@ -0,0 +1,17 @@
|
||||||
|
# must be unique in a given SonarQube instance
|
||||||
|
sonar.projectKey=phpoffice:phpword
|
||||||
|
# this is the name and version displayed in the SonarQube UI. Was mandatory prior to SonarQube 6.1.
|
||||||
|
sonar.projectName=PHPWord
|
||||||
|
sonar.projectVersion=0.16
|
||||||
|
|
||||||
|
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
|
||||||
|
# This property is optional if sonar.modules is set.
|
||||||
|
sonar.sources=src
|
||||||
|
sonar.tests=tests
|
||||||
|
sonar.php.coverage.reportPaths=build/logs/clover.xml
|
||||||
|
sonar.php.tests.reportPath=build/logs/logfile.xml
|
||||||
|
|
||||||
|
# Encoding of the source code. Default is default system encoding
|
||||||
|
#sonar.sourceEncoding=UTF-8
|
||||||
|
|
||||||
|
sonar.host.url=http://localhost:9000
|
||||||
Loading…
Reference in New Issue