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