-
Notifications
You must be signed in to change notification settings - Fork 0
/
.scrutinizer.yml
39 lines (38 loc) · 1.08 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
build:
tests:
override:
-
command: 'vendor/bin/phpunit tests --configuration phpunit.xml.dist --coverage-clover=code-coverage'
coverage:
file: 'code-coverage'
format: 'clover'
nodes:
tests: true
analysis:
tests:
override:
- php-scrutinizer-run
filter:
excluded_paths:
- 'tests/*'
- 'vendor/*'
coding_style:
php:
spaces:
around_operators:
concatenation: true
checks:
php:
simplify_boolean_return: true
return_doc_comments: true
return_doc_comment_if_not_inferrable: true
properties_in_camelcaps: true
parameters_in_camelcaps: true
parameter_doc_comments: true
no_long_variable_names:
maximum: '32'
check_method_contracts:
verify_interface_like_constraints: true
verify_documented_constraints: true
verify_parent_constraints: true
no_trailing_whitespace: false