@@ -14,31 +14,33 @@ public static function create(): Config
14
14
return Config::create ()
15
15
->setRules ([
16
16
'@PSR2 ' => true ,
17
- 'ordered_imports ' => true ,
18
- ' ordered_class_elements ' => true ,
19
- ' single_blank_line_before_namespace ' => true ,
20
- 'method_separation ' => true ,
17
+ 'array_syntax ' => [
18
+ ' syntax ' => ' short ' ,
19
+ ] ,
20
+ 'blank_line_before_return ' => true ,
21
21
'declare_strict_types ' => true ,
22
- 'strict_param ' => true ,
23
- 'single_class_element_per_statement ' => true ,
22
+ 'method_separation ' => true ,
23
+ 'new_with_braces ' => true ,
24
24
'no_extra_consecutive_blank_lines ' => true ,
25
- 'trailing_comma_in_multiline_array ' => true ,
26
- 'single_quote ' => true ,
27
- 'no_whitespace_in_blank_line ' => true ,
28
- 'no_whitespace_before_comma_in_array ' => true ,
29
- 'no_unused_imports ' => true ,
30
- 'no_short_bool_cast ' => true ,
31
25
'no_leading_import_slash ' => true ,
32
- 'new_with_braces ' => true ,
33
- 'blank_line_before_return ' => true ,
26
+ 'no_short_bool_cast ' => true ,
27
+ 'no_unused_imports ' => true ,
28
+ 'no_whitespace_before_comma_in_array ' => true ,
29
+ 'no_whitespace_in_blank_line ' => true ,
30
+ 'ordered_class_elements ' => true ,
31
+ 'ordered_imports ' => true ,
32
+ 'phpdoc_add_missing_param_annotation ' => true ,
34
33
'phpdoc_align ' => true ,
35
34
'phpdoc_no_empty_return ' => true ,
36
35
'phpdoc_order ' => true ,
37
- 'phpdoc_add_missing_param_annotation ' => true ,
38
36
'phpdoc_scalar ' => true ,
39
37
'phpdoc_summary ' => true ,
40
38
'return_type_declaration ' => true ,
41
- 'array_syntax ' => ['syntax ' => 'short ' ],
39
+ 'single_blank_line_before_namespace ' => true ,
40
+ 'single_class_element_per_statement ' => true ,
41
+ 'single_quote ' => true ,
42
+ 'strict_param ' => true ,
43
+ 'trailing_comma_in_multiline_array ' => true ,
42
44
])
43
45
;
44
46
}
0 commit comments