-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
65 lines (64 loc) · 1.63 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
before_commands:
- "composer install --prefer-source"
tools:
php_code_coverage:
enabled: true
test_command: ./vendor/bin/phpunit
php_code_sniffer:
enabled: true
config:
standard: PSR2
filter:
paths: ["src/*", "tests/*"]
php_cpd:
enabled: true
excluded_dirs: ["build/*", "tests", "vendor"]
php_cs_fixer:
enabled: true
config:
level: all
filter:
paths: ["src/*", "tests/*"]
php_loc:
enabled: true
excluded_dirs: ["build", "tests", "vendor"]
php_mess_detector:
enabled: true
config:
ruleset: phpmd.xml.dist
design_rules: { eval_expression: false }
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
excluded_dirs: ["build", "tests", "vendor"]
php_analyzer:
enabled: true
filter:
paths: ["src/*", "tests/*"]
php_hhvm:
enabled: true
filter:
paths: ["src/*", "tests/*"]
sensiolabs_security_checker: true
checks:
php:
code_rating: true
duplication: true
build:
environment:
php:
version: 7.0 # Common versions: 5.4, 5.5, 5.6, 7.0 or hhvm
environment:
php:
version: 7.0
ini:
'date.timezone': 'Europe/Madrid'
tests:
override:
-
command: 'phpunit --coverage-clover=clover.xml'
idle_timeout: 300
coverage:
file: 'clover.xml'
format: 'php-clover'