-
Notifications
You must be signed in to change notification settings - Fork 102
/
.scrutinizer.yml
48 lines (45 loc) · 1.12 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
build:
nodes:
analysis:
tests:
override:
- php-scrutinizer-run
dependencies:
override:
- "composer install --no-dev --prefer-source"
- "cd example && composer install --no-dev --prefer-source && cd .."
filter:
paths: ["src/*", "example/*.php"]
dependency_paths:
- vendor/
- example/vendor/
tools:
external_code_coverage:
timeout: 600
php_code_sniffer:
enabled: true
config:
standard: PSR2
filter:
paths: ["src/*"]
php_cpd:
enabled: true
excluded_dirs: ["vendor"]
php_loc:
enabled: true
excluded_dirs: ["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: ["tests", "vendor", "fixtures"]
php_analyzer:
enabled: true
filter:
paths: ["src/*"]
sensiolabs_security_checker: true