-
Notifications
You must be signed in to change notification settings - Fork 1
/
.scrutinizer.yml
63 lines (60 loc) · 1.61 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
59
60
61
62
63
filter:
excluded_paths: [tests/*]
checks:
php:
code_rating: true
remove_extra_empty_lines: true
remove_php_closing_tag: true
remove_trailing_whitespace: true
fix_use_statements:
remove_unused: true
preserve_multiple: false
preserve_blanklines: true
fix_php_opening_tag: true
fix_linefeed: true
fix_line_ending: true
fix_identation_4spaces: true
fix_doc_comments: true
return_doc_comments: true
parameter_doc_comments: true
optional_parameters_at_the_end: true
more_specific_types_in_doc_comments: true
encourage_single_quotes: true
align_assignments: true
tools:
php_code_sniffer:
config:
standard: PSR2
filter:
paths: ['src']
php_loc:
enabled: true
excluded_dirs: [vendor, spec, stubs]
coding_style:
php:
spaces:
around_operators:
negation: true
braces:
classes_functions:
class: new-line
function: end-of-line
closure: end-of-line
if:
opening: end-of-line
always: false
for:
opening: end-of-line
while:
opening: end-of-line
do_while:
opening: end-of-line
switch:
opening: end-of-line
try:
opening: end-of-line
upper_lower_casing:
keywords:
general: lower
constants:
true_false_null: lower