forked from uuf6429/rune
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
58 lines (56 loc) · 1.47 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
filter:
excluded_paths:
- 'test/*'
- 'example/*'
checks:
php:
uppercase_constants: true
return_doc_comments: true
remove_extra_empty_lines: true
parameters_in_camelcaps: true
encourage_single_quotes: true
fix_line_ending: true
newline_at_end_of_file: true
avoid_todo_comments: true
avoid_fixme_comments: true
javascript:
eqeqeq: true
coding_style:
php:
spaces:
before_parentheses:
closure_definition: true
around_operators:
concatenation: true
braces:
classes_functions:
class: new-line
function: new-line
closure: end-of-line
if:
opening: end-of-line
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: new-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower
build:
environment:
php: '7.0'
tests:
override:
-
command: 'phpunit --coverage-clover=coverage.xml'
coverage:
file: 'coverage.xml'
format: 'clover'