Added .editorconfig to tell others about spaces and tabs

Also:
- formated source code according to these rules;
- added spaces after commas in test code

See GitHub issue #101
This commit is contained in:
Christian Bläul
2017-12-06 03:00:22 +01:00
committed by Fonata
parent 0ac5064d58
commit 0ecaa80222
7 changed files with 114 additions and 71 deletions

15
.editorconfig Normal file
View File

@@ -0,0 +1,15 @@
# @see http://editorconfig.org/
# This is the top-most .editorconfig file; do not search in parent directories.
root = true
# All files.
[*]
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[composer.json]
indent_size = 4