From 379b3d9e5ab52c2ee4b082bd06d9f755767cdce9 Mon Sep 17 00:00:00 2001 From: Gaetano Giunta Date: Wed, 20 May 2026 10:46:15 +0000 Subject: [PATCH 1/3] add top-level .editorconfig; improve app/.editorconfig Signed-off-by: Gaetano Giunta --- .editorconfig | 18 ++++++++++++++++++ app/.editorconfig | 11 ++--------- 2 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..fa5787fe --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.yaml] +indent_size = 2 + + +[*.yml] +indent_size = 2 diff --git a/app/.editorconfig b/app/.editorconfig index 5ce64346..ae6caa62 100644 --- a/app/.editorconfig +++ b/app/.editorconfig @@ -1,19 +1,12 @@ # https://editorconfig.org +# note: the files in ./composer actually use 4 spaces instead of tabs + root = true [*] charset = utf-8 end_of_line = lf -indent_size = 4 indent_style = tab insert_final_newline = true trim_trailing_whitespace = true - -[*.feature] -indent_size = 2 -indent_style = space - -[*.yml] -indent_size = 2 -indent_style = space From b615acf413b4a4f192ffd4cca4c2994dcee705cb Mon Sep 17 00:00:00 2001 From: Gaetano Giunta Date: Wed, 20 May 2026 10:55:39 +0000 Subject: [PATCH 2/3] tabs to spaces for php/psalm.xml Signed-off-by: Gaetano Giunta --- php/psalm.xml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/php/psalm.xml b/php/psalm.xml index 576d82d2..ec4461c5 100644 --- a/php/psalm.xml +++ b/php/psalm.xml @@ -1,29 +1,29 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + - + From c2e48d35246c2bb5ff726b3399eae71c7c651d14 Mon Sep 17 00:00:00 2001 From: Gaetano Giunta Date: Wed, 20 May 2026 10:56:10 +0000 Subject: [PATCH 3/3] add a comment to .editorconfig Signed-off-by: Gaetano Giunta --- .editorconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.editorconfig b/.editorconfig index fa5787fe..28f5570e 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,7 @@ # https://editorconfig.org +# Tip: to find files violating the rules set out here, run `docker run --rm --volume=$PWD:/check mstruebing/editorconfig-checker` + root = true [*]