adding editorconfig to enforce PSR-2

This commit is contained in:
Jan Kapellen 2019-10-19 18:50:44 +02:00 committed by Igor Scheller
parent af09865f3d
commit 5ec0d7209e
1 changed files with 16 additions and 0 deletions

16
.editorconfig Normal file
View File

@ -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