From e96a30495933b5269ca85b468b60615417289b50 Mon Sep 17 00:00:00 2001 From: Krzysztof Andrzej Sikorski Date: Fri, 25 Mar 2022 22:40:56 +0100 Subject: [PATCH] Code style: update `.editorconfig` file to match PSR-12 Details: - split filetype sections to separate sections per file type - update PHP section to match PSR-12 standard --- .editorconfig | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.editorconfig b/.editorconfig index ee7647f..569cada 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,9 +8,21 @@ trim_trailing_whitespace = true indent_style = space indent_size = 2 -[*.{php,html,twig,yaml}] -indent_style = space -indent_size = 4 - [*.md] max_line_length = 80 + +[*.html] +indent_size = 4 + +[*.php] +# settings required by PSR-12 standard +end_of_line = LF +indent_style = space +indent_size = 4 +max_line_length = 120 + +[*.twig] +indent_size = 4 + +[*.yaml] +indent_size = 4