diff options
author | Jan Kapellen <jkapellen@gmail.com> | 2019-10-19 18:50:44 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-19 19:36:58 +0200 |
commit | 5ec0d7209eabe779bf20ba3b08500b0b715abab7 (patch) | |
tree | 9a78bd46c6de1c80bf00e3c9d8b807214dccafe3 /.editorconfig | |
parent | af09865f3da55ae8e50ee0bf9f5ebc7d005dfcf5 (diff) |
adding editorconfig to enforce PSR-2
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..60e5c255 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# PHP PSR-2 Coding Standards +# http://www.php-fig.org/psr/psr-2/ + +root = true + +[*.php] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = space +indent_size = 4 + |