forked from TYPO3-Console/TYPO3-Console
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-project.properties
25 lines (20 loc) · 980 Bytes
/
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
sonar.projectKey=typo3-console
sonar.projectName=TYPO3 Console
sonar.projectVersion=5.7.0
sonar.sources=.
sonar.exclusions=.Build/**, .github/**, Tests/**, Resources/**, Documentation/**, Configuration/**
# Ignore issues on multiple criteria
sonar.issue.ignore.multicriteria = e1,e2
# Exclude "String literals should not be duplicated"
sonar.issue.ignore.multicriteria.e1.ruleKey=php:S1192
sonar.issue.ignore.multicriteria.e1.resourceKey=**/*.php
# Exclude "Local variables should not have the same name as class fields"
sonar.issue.ignore.multicriteria.e2.ruleKey=php:S1117
sonar.issue.ignore.multicriteria.e2.resourceKey=**/*.php
# Set Database Cleaner limits
sonar.dbcleaner.hoursBeforeKeepingOnlyOneSnapshotByDay=24
sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByWeek=12
sonar.dbcleaner.weeksBeforeKeepingOnlyOneSnapshotByMonth=52
# PHPUnit test and coverage results import
sonar.php.tests.reportPath=.Build/junit.xml
sonar.php.coverage.reportPaths=.Build/clover.xml