-
Notifications
You must be signed in to change notification settings - Fork 43
/
.scrutinizer.yml
46 lines (37 loc) · 920 Bytes
/
.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
imports:
- php
filter:
excluded_paths:
- test/
- webroot/check*
- webroot/imgd.php
- webroot/imgp.php
- webroot/imgs.php
- webroot/test/
checks:
php:
code_rating: true
duplication: true
tools:
# Copy/Paste Detector
php_cpd: true
# Metrics
php_pdepend: true
# Some Metrics + Bug Detection/Auto-Fixes
php_analyzer: true
php_code_sniffer:
config:
standard: "PSR2"
php_sim:
min_mass: 16 # Defaults to 16
php_mess_detector:
#config:
# ruleset: ../your-phpmd-ruleset/ruleset.xml
build:
tests:
override:
-
command: 'phpunit'
coverage:
file: 'coverage.clover'
format: 'php-clover'