forked from Zookal/magento-mock
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
37 lines (32 loc) · 898 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
inherit: true
checks:
php:
code_rating: true
duplication: true
tools:
external_code_coverage: false
php_code_coverage: false
php_code_sniffer:
config:
standard: 'Zend'
php_changetracking: false
php_sim: true
php_cs_fixer: true
php_mess_detector: true
php_pdepend: true
# https://scrutinizer-ci.com/docs/tools/php/php-analyzer/config_reference
php_analyzer:
enabled: true
config:
suspicious_code:
non_existent_class_in_instanceof_check: false
non_existent_class_in_catch_clause: false
sensiolabs_security_checker: true
build:
environment:
php: { version: 5.4.28 }
build_failure_conditions:
- 'elements.rating(<= C).exists'
- 'issues.count > 10'
- 'issues.new.exists'
- 'project.metric("scrutinizer.quality", < 9.80)'