@@ -7,11 +7,12 @@ $config = PhpCsFixer\Config::create()
77 ->setRiskyAllowed (true )
88 ->setRules ([
99 '@PHP71Migration ' => true ,
10+ '@PHP73Migration ' => false ,
11+ '@PhpCsFixer ' => true ,
12+ '@PhpCsFixer:risky ' => true ,
1013 '@PSR2 ' => true ,
1114 '@Symfony ' => true ,
1215 '@Symfony:risky ' => true ,
13- '@PhpCsFixer ' => true ,
14- '@PhpCsFixer:risky ' => true ,
1516 'align_multiline_comment ' => true ,
1617 'array_indentation ' => true ,
1718 'array_syntax ' => ['syntax ' => 'short ' ],
@@ -21,12 +22,14 @@ $config = PhpCsFixer\Config::create()
2122 'comment_to_phpdoc ' => true ,
2223 'compact_nullable_typehint ' => true ,
2324 'concat_space ' => ['spacing ' => 'one ' ],
25+ 'escape_implicit_backslashes ' => false ,
2426 'fully_qualified_strict_types ' => true ,
2527 'linebreak_after_opening_tag ' => true ,
2628 'list_syntax ' => ['syntax ' => 'short ' ],
2729 'method_argument_space ' => ['ensure_fully_multiline ' => true ],
2830 'native_constant_invocation ' => true ,
2931 'native_function_invocation ' => true ,
32+ 'native_function_type_declaration_casing ' => true ,
3033 'no_alternative_syntax ' => true ,
3134 'no_multiline_whitespace_before_semicolons ' => true ,
3235 'no_null_property_initialization ' => true ,
@@ -38,7 +41,8 @@ $config = PhpCsFixer\Config::create()
3841 'not_operator_with_space ' => false ,
3942 'not_operator_with_successor_space ' => false ,
4043 'ordered_class_elements ' => true ,
41- 'ordered_imports ' => true ,
44+ 'ordered_imports ' => ['sort_algorithm ' => 'alpha ' , 'imports_order ' => ['class ' , 'const ' , 'function ' ]],
45+ 'ordered_interfaces ' => true ,
4246 'php_unit_ordered_covers ' => true ,
4347 'php_unit_set_up_tear_down_visibility ' => true ,
4448 'php_unit_strict ' => true ,
@@ -50,7 +54,9 @@ $config = PhpCsFixer\Config::create()
5054 'pow_to_exponentiation ' => true ,
5155 'random_api_migration ' => true ,
5256 'return_assignment ' => false ,
57+ 'simple_to_complex_string_variable ' => true ,
5358 'single_line_comment_style ' => true ,
59+ 'single_trait_insert_per_statement ' => true ,
5460 'strict_comparison ' => false ,
5561 'strict_param ' => false ,
5662 'string_line_ending ' => true ,
0 commit comments