1010final class Config extends PhpCsFixerConfig
1111{
1212 public const RULES = [
13- '@PhpCsFixer ' => true ,
14- '@PhpCsFixer:risky ' => true ,
1513 '@DoctrineAnnotation ' => true ,
1614 '@PHP71Migration ' => true ,
1715 '@PHP71Migration:risky ' => true ,
1816 '@PHPUnit75Migration:risky ' => true ,
17+ '@PhpCsFixer ' => true ,
18+ '@PhpCsFixer:risky ' => true ,
1919 'Slam/final_abstract_public ' => true ,
2020 'Slam/final_internal_class ' => true ,
2121 'Slam/function_reference_space ' => true ,
2222 'Slam/php_only_braces ' => true ,
2323 'Slam/php_only_slam_inline_comment_spacer ' => true ,
2424 'Slam/utf8 ' => true ,
2525 'align_multiline_comment ' => ['comment_type ' => 'all_multiline ' ],
26- 'backtick_to_shell_exec ' => true ,
2726 'binary_operator_spaces ' => ['default ' => 'align_single_space ' ],
2827 'braces ' => false , // See Slam/php_only_braces
2928 'class_keyword_remove ' => false ,
@@ -36,20 +35,19 @@ final class Config extends PhpCsFixerConfig
3635 'final_class ' => false ,
3736 'final_internal_class ' => false ,
3837 'final_public_method_for_abstract_class ' => false ,
39- 'final_static_access ' => true ,
38+ // 'final_static_access' => true,
4039 'general_phpdoc_annotation_remove ' => false ,
4140 'global_namespace_import ' => true ,
41+ 'group_import ' => false ,
4242 'header_comment ' => false ,
4343 'heredoc_indentation ' => false ,
44- 'linebreak_after_opening_tag ' => true ,
4544 'list_syntax ' => true ,
4645 'mb_str_functions ' => false ,
4746 'method_argument_space ' => ['keep_multiple_spaces_after_comma ' => true ],
4847 'native_constant_invocation ' => true ,
4948 'native_function_invocation ' => true ,
5049 'no_blank_lines_before_namespace ' => false ,
5150 'no_multiline_whitespace_around_double_arrow ' => false ,
52- 'no_php4_constructor ' => true ,
5351 'no_superfluous_phpdoc_tags ' => ['allow_mixed ' => true ],
5452 'not_operator_with_space ' => false ,
5553 'not_operator_with_successor_space ' => true ,
@@ -62,18 +60,22 @@ final class Config extends PhpCsFixerConfig
6260 'php_unit_test_class_requires_covers ' => false ,
6361 'phpdoc_add_missing_param_annotation ' => false ,
6462 'phpdoc_line_span ' => true ,
63+ 'phpdoc_tag_casing ' => true ,
6564 'phpdoc_to_param_type ' => false ,
6665 'phpdoc_to_return_type ' => false ,
6766 'pow_to_exponentiation ' => false ,
68- 'psr0 ' => true ,
67+ // 'psr0' => true,
6968 'random_api_migration ' => true ,
69+ 'regular_callable_call ' => true ,
7070 'self_static_accessor ' => true ,
7171 'simple_to_complex_string_variable ' => false ,
72+ 'simplified_if_return ' => true ,
7273 'simplified_null_return ' => false ,
7374 'single_line_throw ' => false ,
7475 'space_after_semicolon ' => true ,
7576 'static_lambda ' => false ,
7677 'unary_operator_spaces ' => false ,
78+ 'use_arrow_functions ' => false ,
7779 ];
7880
7981 /**
0 commit comments