From 5ec0d7209eabe779bf20ba3b08500b0b715abab7 Mon Sep 17 00:00:00 2001 From: Jan Kapellen Date: Sat, 19 Oct 2019 18:50:44 +0200 Subject: [PATCH] adding editorconfig to enforce PSR-2 --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig 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 +