forked from TYPO3-Solr/ext-solr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
71 lines (60 loc) · 1.37 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
64
65
66
67
68
69
70
71
filter:
excluded_paths:
- 'Documentation/*'
- 'Tests/*'
- 'Resources/Public/JavaScript/*'
- 'Resources/Private/Solr/*'
paths:
- 'Classes/*'
tools:
php_cpd:
enabled: true
php_code_sniffer:
enabled: true
config:
standard: TYPO3CMS
# we do this on travis
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 > 60'
- 'project.metric("scrutinizer.quality", < 8)'
- 'project.metric_change("scrutinizer.test_coverage", < -0.10)'
build:
environment:
php:
version: 7.2.8
nodes:
analysis:
dependencies:
after:
- composer require --dev squizlabs/php_codesniffer:3.1.1
tests:
override:
- php-scrutinizer-run
override:
-
command: phpcs-run
use_website_config: false