forked from SolidInvoice/SolidInvoice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
57 lines (53 loc) · 1.52 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
application:
environment:
php:
version: 7.1
dependencies:
before:
- composer install --no-interaction
project_setup:
before:
- mysql -u root -e "CREATE DATABASE csbill"
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
paths:
- 'src/*'
before_commands:
- composer install
checks:
php:
code_rating: true
duplication: true
tools:
php_mess_detector:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
config:
naming_rules: { boolean_method_name: true }
controversial_rules: { camel_case_class_name: true, camel_case_property_name: true, camel_case_method_name: true, camel_case_parameter_name: true, camel_case_variable_name: true }
php_cpd:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
php_pdepend: true
js_hint:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
php_cs_fixer:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
config:
level: all
php_analyzer: true
php_code_sniffer:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
config:
standard: PSR2
sensiolabs_security_checker:
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]
php_loc: true
external_code_coverage:
runs: 3
filter:
excluded_paths: [vendor/*, web/*, app/*, bin/*]