55namespace SlamCsFixer ;
66
77use PhpCsFixer \Config as PhpCsFixerConfig ;
8- use PhpCsFixer \Fixer as MainFixer ;
98
109final class Config extends PhpCsFixerConfig
1110{
@@ -19,22 +18,17 @@ final class Config extends PhpCsFixerConfig
1918 'Slam/final_abstract_public ' => true ,
2019 'Slam/final_internal_class ' => true ,
2120 'Slam/function_reference_space ' => true ,
22- 'Slam/php_only_braces ' => true ,
2321 'Slam/php_only_slam_inline_comment_spacer ' => true ,
2422 'Slam/utf8 ' => true ,
2523 'align_multiline_comment ' => ['comment_type ' => 'all_multiline ' ],
2624 'binary_operator_spaces ' => ['default ' => 'align_single_space ' ],
27- 'braces ' => false , // See Slam/php_only_braces
2825 'combine_consecutive_issets ' => false ,
2926 'combine_consecutive_unsets ' => false ,
3027 'comment_to_phpdoc ' => false ,
3128 'concat_space ' => ['spacing ' => 'one ' ],
32- 'control_structure_braces ' => true ,
33- 'control_structure_continuation_position ' => true ,
3429 'curly_braces_position ' => true ,
3530 'date_time_create_from_format_call ' => true ,
3631 'date_time_immutable ' => false ,
37- 'declare_parentheses ' => true ,
3832 'error_suppression ' => false ,
3933 'final_class ' => false ,
4034 'final_internal_class ' => false ,
@@ -50,7 +44,6 @@ final class Config extends PhpCsFixerConfig
5044 'native_function_invocation ' => ['include ' => ['@internal ' ]],
5145 'no_blank_lines_before_namespace ' => false ,
5246 'no_multiline_whitespace_around_double_arrow ' => false ,
53- 'no_multiple_statements_per_line ' => true ,
5447 'no_superfluous_phpdoc_tags ' => ['allow_mixed ' => true ],
5548 'not_operator_with_space ' => false ,
5649 'not_operator_with_successor_space ' => true ,
@@ -78,7 +71,6 @@ final class Config extends PhpCsFixerConfig
7871 'simplified_null_return ' => false ,
7972 'single_line_throw ' => false ,
8073 'space_after_semicolon ' => true ,
81- 'statement_indentation ' => true ,
8274 'static_lambda ' => false ,
8375 'unary_operator_spaces ' => false ,
8476 'use_arrow_functions ' => false ,
@@ -96,7 +88,6 @@ public function __construct(array $overriddenRules = [])
9688 new FinalInternalClassFixer (),
9789 new FunctionReferenceSpaceFixer (),
9890 new PhpFileOnlyProxyFixer (new InlineCommentSpacerFixer ()),
99- new PhpFileOnlyProxyFixer (new MainFixer \Basic \BracesFixer ()),
10091 new Utf8Fixer (),
10192 ]);
10293
0 commit comments