@@ -58,6 +58,7 @@ final class RuleSet implements RuleSetInterface
5858 ],
5959 '@Symfony ' => [
6060 '@PSR2 ' => true ,
61+ 'array_syntax ' => ['syntax ' => 'short ' ],
6162 'binary_operator_spaces ' => true ,
6263 'blank_line_after_opening_tag ' => true ,
6364 'blank_line_before_statement ' => [
@@ -112,6 +113,7 @@ final class RuleSet implements RuleSetInterface
112113 'no_whitespace_in_blank_line ' => true ,
113114 'normalize_index_brace ' => true ,
114115 'object_operator_without_whitespace ' => true ,
116+ 'ordered_imports ' => true ,
115117 'php_unit_fqcn_annotation ' => true ,
116118 'phpdoc_align ' => [
117119 // @TODO: on 3.0 switch whole rule to `=> true`, currently we use custom config that will be default on 3.0
@@ -130,7 +132,6 @@ final class RuleSet implements RuleSetInterface
130132 'phpdoc_inline_tag ' => true ,
131133 'phpdoc_no_access ' => true ,
132134 'phpdoc_no_alias_tag ' => true ,
133- 'phpdoc_no_empty_return ' => true ,
134135 'phpdoc_no_package ' => true ,
135136 'phpdoc_no_useless_inheritdoc ' => true ,
136137 'phpdoc_return_self_reference ' => true ,
@@ -140,13 +141,13 @@ final class RuleSet implements RuleSetInterface
140141 'phpdoc_summary ' => true ,
141142 'phpdoc_to_comment ' => true ,
142143 'phpdoc_trim ' => true ,
144+ 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
143145 'phpdoc_types ' => true ,
144146 'phpdoc_types_order ' => [
145147 'null_adjustment ' => 'always_last ' ,
146148 'sort_algorithm ' => 'none ' ,
147149 ],
148150 'phpdoc_var_without_name ' => true ,
149- 'protected_to_private ' => true ,
150151 'return_type_declaration ' => true ,
151152 'semicolon_after_instruction ' => true ,
152153 'short_scalar_cast ' => true ,
@@ -206,7 +207,6 @@ final class RuleSet implements RuleSetInterface
206207 '@Symfony ' => true ,
207208 'align_multiline_comment ' => true ,
208209 'array_indentation ' => true ,
209- 'array_syntax ' => ['syntax ' => 'short ' ],
210210 'blank_line_before_statement ' => true ,
211211 'combine_consecutive_issets ' => true ,
212212 'combine_consecutive_unsets ' => true ,
@@ -242,16 +242,16 @@ final class RuleSet implements RuleSetInterface
242242 'no_useless_else ' => true ,
243243 'no_useless_return ' => true ,
244244 'ordered_class_elements ' => true ,
245- 'ordered_imports ' => true ,
246245 'php_unit_internal_class ' => true ,
247246 'php_unit_method_casing ' => true ,
248247 'php_unit_ordered_covers ' => true ,
249248 'php_unit_test_class_requires_covers ' => true ,
250249 'phpdoc_add_missing_param_annotation ' => true ,
250+ 'phpdoc_no_empty_return ' => true ,
251251 'phpdoc_order ' => true ,
252- 'phpdoc_trim_consecutive_blank_line_separation ' => true ,
253252 'phpdoc_types_order ' => true ,
254253 'phpdoc_var_annotation_correct_order ' => true ,
254+ 'protected_to_private ' => true ,
255255 'return_assignment ' => true ,
256256 'simple_to_complex_string_variable ' => true ,
257257 'single_line_comment_style ' => true ,
0 commit comments