@@ -5,25 +5,47 @@ return PhpCsFixer\Config::create()
55 ->setRules ([
66 '@Symfony ' => true ,
77 '@Symfony:risky ' => true ,
8- 'array_syntax ' => array ('syntax ' => 'long ' ),
8+ 'align_multiline_comment ' => true ,
9+ 'array_indentation ' => true ,
10+ 'array_syntax ' => ['syntax ' => 'short ' ],
11+ 'combine_consecutive_issets ' => true ,
912 'combine_consecutive_unsets ' => true ,
13+ 'compact_nullable_typehint ' => true ,
1014 'concat_space ' => ['spacing ' => 'one ' ],
15+ 'date_time_immutable ' => true ,
16+ 'escape_implicit_backslashes ' => true ,
17+ 'explicit_indirect_variable ' => true ,
18+ 'explicit_string_variable ' => true ,
19+ 'fully_qualified_strict_types ' => true ,
20+ 'heredoc_to_nowdoc ' => true ,
21+ 'list_syntax ' => ['syntax ' => 'long ' ],
22+ 'mb_str_functions ' => true ,
23+ 'multiline_comment_opening_closing ' => true ,
24+ 'native_function_invocation ' => false ,
25+ 'no_alternative_syntax ' => true ,
26+ 'no_null_property_initialization ' => true ,
27+ 'no_superfluous_elseif ' => true ,
28+ 'no_unreachable_default_argument_value ' => true ,
1129 'no_useless_else ' => true ,
1230 'no_useless_return ' => true ,
1331 'ordered_class_elements ' => true ,
1432 'ordered_imports ' => true ,
33+ 'php_unit_ordered_covers ' => true ,
1534 'phpdoc_add_missing_param_annotation ' => true ,
1635 'phpdoc_align ' => false ,
1736 'phpdoc_order ' => true ,
18- 'phpdoc_no_alias_tag ' => false ,
1937 'psr4 ' => true ,
2038 'semicolon_after_instruction ' => true ,
2139 'strict_comparison ' => true ,
2240 'strict_param ' => true ,
41+ 'string_line_ending ' => true ,
42+ 'ternary_to_null_coalescing ' => true ,
43+ 'visibility_required ' => ['elements ' => ['property ' , 'method ' , 'const ' ]],
44+ 'yoda_style ' => false ,
2345 ])
2446 ->setFinder (
2547 PhpCsFixer \Finder::create ()
26- ->exclude (['vendor ' , 'build ' , 'doc ' ])
48+ ->exclude (['vendor ' , 'node_modules ' , 'doc ' ])
2749 ->in (__DIR__ )
2850 )
2951;
0 commit comments