-
Notifications
You must be signed in to change notification settings - Fork 4
/
.scrutinizer.yml
43 lines (42 loc) · 1.34 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
filter:
excluded_paths:
- 'tests/*'
- 'src/lexicon.php'
checks:
php:
use_self_instead_of_fqcn: true
uppercase_constants: true
simplify_boolean_return: true
remove_extra_empty_lines: true
properties_in_camelcaps: true
phpunit_assertions: true
parameters_in_camelcaps: true
param_doc_comment_if_not_inferrable: true
overriding_parameter: true
optional_parameters_at_the_end: true
newline_at_end_of_file: true
line_length:
max_length: '120'
encourage_single_quotes: true
encourage_postdec_operator: true
classes_in_camel_caps: true
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
avoid_unnecessary_concatenation: true
avoid_todo_comments: true
avoid_multiple_statements_on_same_line: true
avoid_fixme_comments: true
align_assignments: true
build:
environment:
php:
version: "7.3"
tests:
override:
-
command: 'phpdbg -qrr vendor/bin/phpunit --coverage-text --coverage-clover=some-file'
coverage:
file: 'some-file'
format: 'clover'