diff --git a/src/Config.php b/src/Config.php index 5a188cb..975f749 100644 --- a/src/Config.php +++ b/src/Config.php @@ -77,14 +77,14 @@ class Config extends \PhpCsFixer\Config 'indentation_type' => true, 'integer_literal_case' => true, 'lambda_not_used_import' => true, - 'linebreak_after_opening_tag' => true, 'line_ending' => true, + 'linebreak_after_opening_tag' => true, 'list_syntax' => true, 'lowercase_cast' => true, 'lowercase_keywords' => true, 'lowercase_static_reference' => true, - 'magic_method_casing' => true, 'magic_constant_casing' => true, + 'magic_method_casing' => true, 'method_argument_space' => [ 'on_multiline' => 'ignore', ], @@ -119,12 +119,11 @@ class Config extends \PhpCsFixer\Config 'no_multiple_statements_per_line' => true, 'no_short_bool_cast' => true, 'no_singleline_whitespace_before_semicolons' => true, - 'no_spaces_after_function_name' => true, 'no_space_around_double_colon' => true, + 'no_spaces_after_function_name' => true, 'no_spaces_around_offset' => [ 'positions' => ['inside', 'outside'], ], - 'no_spaces_inside_parenthesis' => true, 'no_superfluous_phpdoc_tags' => [ 'allow_mixed' => true, 'allow_unused_params' => true, @@ -136,9 +135,9 @@ class Config extends \PhpCsFixer\Config 'statements' => ['break', 'clone', 'continue', 'echo_print', 'return', 'switch_case', 'yield'], ], 'no_unneeded_curly_braces' => true, + 'no_unreachable_default_argument_value' => true, 'no_unset_cast' => true, 'no_unused_imports' => true, - 'no_unreachable_default_argument_value' => true, 'no_useless_return' => true, 'no_whitespace_before_comma_in_array' => true, 'no_whitespace_in_blank_line' => true, @@ -150,7 +149,8 @@ class Config extends \PhpCsFixer\Config ], 'object_operator_without_whitespace' => true, 'ordered_imports' => ['sort_algorithm' => 'alpha', 'imports_order' => ['const', 'class', 'function']], - 'psr_autoloading' => false, + 'ordered_interfaces' => true, + 'ordered_traits' => true, 'phpdoc_indent' => true, 'phpdoc_inline_tag_normalizer' => true, 'phpdoc_no_access' => true, @@ -171,15 +171,16 @@ class Config extends \PhpCsFixer\Config ], 'phpdoc_single_line_var_spacing' => true, 'phpdoc_summary' => false, - 'phpdoc_to_comment' => false, 'phpdoc_tag_type' => [ 'tags' => [ 'inheritdoc' => 'inline', ], ], + 'phpdoc_to_comment' => false, 'phpdoc_trim' => true, 'phpdoc_types' => true, 'phpdoc_var_without_name' => true, + 'psr_autoloading' => false, 'return_type_declaration' => ['space_before' => 'none'], 'self_accessor' => false, 'self_static_accessor' => true, @@ -197,6 +198,7 @@ class Config extends \PhpCsFixer\Config 'single_quote' => true, 'single_space_around_construct' => true, 'space_after_semicolon' => true, + 'spaces_inside_parentheses' => true, 'standardize_not_equals' => true, 'statement_indentation' => true, 'switch_case_semicolon_to_colon' => true,