22return PhpCsFixer \Config::create ()
33 ->setRiskyAllowed (true )
44 ->setRules ([
5+ '@DoctrineAnnotation ' => true ,
56 '@Symfony ' => true ,
67 '@Symfony:risky ' => true ,
8+ '@PHPUnit60Migration:risky ' => true ,
79 '@PHP70Migration ' => true ,
810 '@PHP70Migration:risky ' => true ,
911 'align_multiline_comment ' => true ,
1012 'array_syntax ' => ['syntax ' => 'short ' ],
1113 'blank_line_before_statement ' => true ,
1214 'concat_space ' => ['spacing ' => 'one ' ],
15+ 'escape_implicit_backslashes ' => true ,
16+ 'explicit_indirect_variable ' => true ,
17+ 'explicit_string_variable ' => true ,
1318 'heredoc_to_nowdoc ' => true ,
1419 'list_syntax ' => ['syntax ' => 'long ' ],
1520 'method_argument_space ' => ['ensure_fully_multiline ' => true ],
21+ 'method_chaining_indentation ' => true ,
1622 'native_function_invocation ' => true ,
1723 'no_break_comment ' => true ,
1824 'no_extra_consecutive_blank_lines ' => ['tokens ' => ['break ' , 'continue ' , 'extra ' , 'return ' , 'throw ' , 'use ' , 'parenthesis_brace_block ' , 'square_brace_block ' , 'curly_brace_block ' ]],
@@ -29,9 +35,11 @@ return PhpCsFixer\Config::create()
2935 'phpdoc_add_missing_param_annotation ' => true ,
3036 'phpdoc_order ' => true ,
3137 'phpdoc_types_order ' => true ,
38+ 'random_api_migration ' => true ,
3239 'semicolon_after_instruction ' => true ,
3340 'silenced_deprecation_error ' => false ,
3441 'simplified_null_return ' => true ,
42+ 'single_line_comment_style ' => true ,
3543 ])
3644 ->setFinder (
3745 PhpCsFixer \Finder::create ()
0 commit comments