From 35d3f14857726fe17ae9c69b8cf8066bbe24e597 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 1 Nov 2023 17:31:37 +0000 Subject: [PATCH] Fix EditorConfig configuration --- .editorconfig | 15 ++++----------- .phpcs.xml | 2 +- phpcs.xml | 2 +- phpunit.xml | 30 +++++++++++++++--------------- 4 files changed, 21 insertions(+), 28 deletions(-) diff --git a/.editorconfig b/.editorconfig index 351b59f..ac57901 100644 --- a/.editorconfig +++ b/.editorconfig @@ -5,19 +5,12 @@ charset = utf-8 end_of_line = lf trim_trailing_whitespace = true insert_final_newline = true -indent_style = tab -indent_size = 4 - -[*.{js,jsx,scss,css,json,yaml,yml,feature,xml}] indent_style = space indent_size = 2 -# Composer File -[composer.{json,lock}] -indent_style = space +[*.php] +indent_style = tab indent_size = 4 -# Dotfiles -[.*] -indent_style = space -indent_size = 2 +[LICENSE] +indent_style = unset diff --git a/.phpcs.xml b/.phpcs.xml index 1a669ef..5ba5b85 100644 --- a/.phpcs.xml +++ b/.phpcs.xml @@ -13,7 +13,7 @@ - + diff --git a/phpcs.xml b/phpcs.xml index 24a0a5a..4980f87 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -51,7 +51,7 @@ + --> diff --git a/phpunit.xml b/phpunit.xml index 7d8c272..e5e4c70 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,18 +1,18 @@ - - - tests/feature - - - tests/unit - - + + + tests/feature + + + tests/unit + +