1
+ {
2
+ "preset" : " psr12" ,
3
+ "rules" : {
4
+ "group_import" : true ,
5
+ "single_import_per_statement" : false ,
6
+ "no_unused_imports" : true ,
7
+ "array_indentation" : true ,
8
+ "array_syntax" : {
9
+ "syntax" : " short"
10
+ },
11
+ "binary_operator_spaces" : {
12
+ "default" : " single_space" ,
13
+ "operators" : {
14
+ "=" : " align_single_space_minimal" ,
15
+ "=>" : " align_single_space_minimal"
16
+ }
17
+ },
18
+ "blank_line_after_namespace" : true ,
19
+ "blank_line_after_opening_tag" : false ,
20
+ "class_attributes_separation" : {
21
+ "elements" : {
22
+ "property" : " one"
23
+ }
24
+ },
25
+ "concat_space" : {
26
+ "spacing" : " one"
27
+ },
28
+ "declare_equal_normalize" : {
29
+ "space" : " single"
30
+ },
31
+ "elseif" : false ,
32
+ "encoding" : true ,
33
+ "indentation_type" : true ,
34
+ "no_useless_else" : false ,
35
+ "no_useless_return" : true ,
36
+ "ordered_imports" : true ,
37
+ "ternary_operator_spaces" : true ,
38
+ "no_extra_blank_lines" : true ,
39
+ "no_multiline_whitespace_around_double_arrow" : true ,
40
+ "multiline_whitespace_before_semicolons" : true ,
41
+ "no_singleline_whitespace_before_semicolons" : true ,
42
+ "no_spaces_around_offset" : true ,
43
+ "ternary_to_null_coalescing" : true ,
44
+ "whitespace_after_comma_in_array" : true ,
45
+ "trim_array_spaces" : true ,
46
+ "trailing_comma_in_multiline" : true ,
47
+ "unary_operator_spaces" : true ,
48
+ "blank_line_before_statement" : {
49
+ "statements" : [
50
+ " break" ,
51
+ " continue" ,
52
+ " declare" ,
53
+ " return" ,
54
+ " throw" ,
55
+ " try" ,
56
+ " continue" ,
57
+ " do" ,
58
+ " exit" ,
59
+ " for" ,
60
+ " foreach" ,
61
+ " if" ,
62
+ " include" ,
63
+ " include_once" ,
64
+ " require" ,
65
+ " require_once"
66
+ ]
67
+ }
68
+ }
69
+ }
0 commit comments