forked from TYPO3-Solr/ext-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
63 lines (53 loc) · 1.28 KB
/
.scrutinizer.yml
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
filter:
excluded_paths:
- 'Documentation/*'
- 'Tests/*'
- 'Resources/Public/JavaScript/*'
- 'Resources/Private/Solr/*'
paths:
- 'Classes/*'
tools:
php_cpd:
enabled: true
# we do this on GitHub-Actions via typo3/coding-standards
php_code_sniffer:
enabled: false
# we do this on GitHub-Actions via typo3/coding-standards
php_cs_fixer:
enabled: false
php_mess_detector:
enabled: true
config:
controversial_rules:
superglobals: false
php_pdepend:
enabled: true
php_analyzer:
enabled: true
dependency_paths:
- 'Resources/Private/Php/*'
external_code_coverage:
runs: 2
timeout: 2400
checks:
php:
excluded_dependencies:
- typo3/cms-install
avoid_superglobals: false
build_failure_conditions:
- 'patches.label("Doc Comments").count > 10'
- 'patches.label("Spacing").count > 15'
- 'issues.label("coding-style").count > 10'
- 'issues.severity(>= MAJOR).count > 260'
- 'project.metric("scrutinizer.quality", < 8)'
- 'project.metric_change("scrutinizer.test_coverage", < -0.10)'
build:
environment:
php:
# We want to test with the smallest supported TYPO3 PHP version
version: 7.4
nodes:
analysis:
tests:
override:
- php-scrutinizer-run