Skip to content

Commit

Permalink
[Common] Update .editorconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
onairmarc committed May 20, 2024
1 parent eb983cd commit fb37537
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Common/src/Helpers/IdeHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public static function updateEditorConfig(bool $isPhpGenesis): void
if ($isPhpGenesis) {
file_copy(phpgenesis_common_src('Resources/.editorconfig'), phpgenesis_common_src('../../../.editorconfig'));
} else {
file_copy(phpgenesis_common_src('Resources/.editorconfig'), phpgenesis_vendor_dir('../.editorconfig'));
file_copy(phpgenesis_common_src('Resources/.editorconfig'), phpgenesis_vendor_dir('../../.editorconfig'));
}

}
Expand Down
3 changes: 2 additions & 1 deletion src/Common/src/Resources/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ root = true
[*]
charset = utf-8
end_of_line = lf
ij_shell_use_unix_line_separator = true
ij_php_line_comment_add_space = true
ij_php_line_comment_at_first_column = false
ij_shell_use_unix_line_separator = true
indent_size = 4
indent_style = space
insert_final_newline = false
Expand Down

0 comments on commit fb37537

Please sign in to comment.