-
Notifications
You must be signed in to change notification settings - Fork 9
/
sonar-project.properties
42 lines (30 loc) · 1.38 KB
/
sonar-project.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# required metadata
sonar.projectKey=cw:xBoilerplate
sonar.projectName=xBoilerplate
sonar.projectVersion=1.0
# path to source directories (required)
sources=httpdocs
# path to test source directories (optional)
tests=test
sonar.phpUnit.analyze.test.directory=true
# path to project binaries (optional), for example directory of Java bytecode
#binaries=binDir
# optional comma-separated list of paths to libraries. Only path to JAR file and path to directory of classes are supported.
#libraries=path/to/library.jar,path/to/classes/dir
# Uncomment those lines if some features of java 5 or java 6 like annotations, enum, ...
# are used in the source code to be analysed
#sonar.java.source=1.5
#sonar.java.target=1.5
sonar.jdbc.url: jdbc:mysql://localhost:3306/sonar?useUnicode=true&characterEncoding=utf8&rewriteBatchedStatements=true
# Optional properties
sonar.jdbc.driverClassName: com.mysql.jdbc.Driver
sonar.jdbc.validationQuery: select 1
sonar.jdbc.username: sonar
sonar.jdbc.password: 8an44uR7Djps2yaq
# Uncomment this line to analyse a project which is not a java project.
# The value of the property must be the key of the language.
sonar.language=php
sonar.phpCodesniffer.analyzeOnly=true
sonar.phpPmd.analyzeOnly=true
sonar.phpcpd.analyzeOnly=true
sonar.phpUnit.analyzeOnly=true