diff --git a/.editorconfig b/.editorconfig index d975ecf..0f45882 100644 --- a/.editorconfig +++ b/.editorconfig @@ -3,21 +3,23 @@ root = true [*] charset = utf-8 end_of_line = lf -indent_size = 4 +indent_size = 2 indent_style = space insert_final_newline = false max_line_length = 140 -tab_width = 4 -ij_continuation_indent_size = 8 +tab_width = 2 +ij_continuation_indent_size = 2 ij_formatter_off_tag = @formatter:off ij_formatter_on_tag = @formatter:on ij_formatter_tags_enabled = false ij_smart_tabs = false ij_wrap_on_typing = false -[{*.module,*.hphp,*.phtml,*.php5,*.php4,*.php,*.ctp,*.inc}] +[{*.ctp,*.hphp,*.inc,*.module,*.php,*.php4,*.php5,*.phtml}] max_line_length = 999 ij_continuation_indent_size = 4 +indent_size = 4 +tab_width = 4 ij_php_align_assignments = true ij_php_align_class_constants = true ij_php_align_group_field_declarations = true @@ -109,6 +111,7 @@ ij_php_line_comment_add_space = false ij_php_line_comment_at_first_column = true ij_php_link_weight = 28 ij_php_lower_case_boolean_const = true +ij_php_lower_case_keywords = true ij_php_lower_case_null_const = true ij_php_method_brace_style = next_line ij_php_method_call_chain_wrap = off @@ -119,6 +122,7 @@ ij_php_method_weight = 28 ij_php_modifier_list_wrap = false ij_php_multiline_chained_calls_semicolon_on_new_line = false ij_php_namespace_brace_style = 1 +ij_php_new_line_after_php_opening_tag = false ij_php_null_type_position = in_the_end ij_php_package_weight = 28 ij_php_param_weight = 0 @@ -172,6 +176,7 @@ ij_php_space_before_method_call_parentheses = false ij_php_space_before_method_left_brace = true ij_php_space_before_method_parentheses = false ij_php_space_before_quest = true +ij_php_space_before_short_closure_left_parenthesis = false ij_php_space_before_switch_left_brace = true ij_php_space_before_switch_parentheses = true ij_php_space_before_try_left_brace = true