|
14 | 14 | ->setRules([ |
15 | 15 | '@PER-CS' => true, |
16 | 16 | 'align_multiline_comment' => true, |
17 | | - 'array_syntax' => true, |
18 | 17 | 'binary_operator_spaces' => true, |
19 | 18 | 'class_attributes_separation' => ['elements' => ['method' => 'one']], |
20 | 19 | 'class_reference_name_casing' => true, |
21 | 20 | 'clean_namespace' => true, |
| 21 | + 'combine_consecutive_issets' => true, |
22 | 22 | 'combine_consecutive_unsets' => true, |
23 | 23 | 'declare_parentheses' => true, |
24 | 24 | 'integer_literal_case' => true, |
|
35 | 35 | 'no_extra_blank_lines' => true, |
36 | 36 | 'no_spaces_around_offset' => true, |
37 | 37 | 'no_superfluous_phpdoc_tags' => true, |
| 38 | + 'no_trailing_comma_in_singleline' => true, |
38 | 39 | 'no_unneeded_control_parentheses' => true, |
39 | 40 | 'no_unused_imports' => true, |
| 41 | + 'no_useless_concat_operator' => true, |
40 | 42 | 'no_useless_return' => true, |
41 | 43 | 'no_whitespace_before_comma_in_array' => true, |
42 | 44 | 'object_operator_without_whitespace' => true, |
| 45 | + 'ordered_class_elements' => ['order' => ['use_trait', 'case', 'constant', 'property', 'method']], |
43 | 46 | 'ordered_imports' => ['sort_algorithm' => 'alpha'], |
44 | 47 | 'phpdoc_indent' => true, |
45 | 48 | 'phpdoc_no_empty_return' => true, |
| 49 | + 'phpdoc_order' => true, |
| 50 | + 'phpdoc_param_order' => true, |
46 | 51 | 'phpdoc_single_line_var_spacing' => true, |
47 | 52 | 'return_assignment' => true, |
48 | 53 | 'semicolon_after_instruction' => true, |
49 | | - 'single_class_element_per_statement' => true, |
50 | | - 'single_space_around_construct' => true, |
51 | 54 | 'space_after_semicolon' => true, |
52 | 55 | 'standardize_not_equals' => true, |
53 | 56 | 'trim_array_spaces' => true, |
54 | 57 | 'type_declaration_spaces' => true, |
55 | | - 'types_spaces' => true, |
56 | 58 | 'whitespace_after_comma_in_array' => ['ensure_single_space' => true], |
57 | 59 | ]) |
58 | 60 | ->setFinder($finder); |
0 commit comments