-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
46 lines (43 loc) · 1.04 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
filter:
excluded_paths:
- 'public/*'
- 'vendor/*'
before_commands:
- "composer install"
build:
nodes:
php70:
environment:
php: 7.0
php71:
environment:
php: 7.1
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
return_doc_comments: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
parameter_doc_comments: true
overriding_parameter: false
no_long_variable_names:
maximum: '20'
tools:
php_mess_detector:
config:
ruleset: phpmd.xml
php_cs_fixer:
config: { level: psr2 }
php_code_coverage:
config:
ruleset: phpunit.xml
external_code_coverage: true
build:
tests:
override:
-
command: phpunit --coverage-clover=tests/coverage.xml
coverage:
file: coverage.xml
format: clover