From c924bc3b95b3067c1593da8be763ab6ed31a9728 Mon Sep 17 00:00:00 2001 From: minchao Date: Sat, 28 Sep 2019 10:40:02 +0800 Subject: [PATCH] Improve layout for xml files --- .editorconfig | 7 ++++++- .gitignore | 2 +- phpcs.xml | 34 +++++++++++++++++----------------- phpunit.xml.dist | 20 ++++++++++---------- 4 files changed, 34 insertions(+), 29 deletions(-) diff --git a/.editorconfig b/.editorconfig index bcca22c..fd61355 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# EditorConfig is awesome: http://EditorConfig.org +# EditorConfig is awesome: https://EditorConfig.org # top-most EditorConfig file root = true @@ -16,3 +16,8 @@ indent_size = 4 [*.{json,yml}] indent_style = space indent_size = 2 + +[*.{xml,xml.dist}] +max_line_length = off +indent_style = space +indent_size = 2 diff --git a/.gitignore b/.gitignore index 0b61c85..375aced 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,4 @@ /phpunit.xml # IntelliJ IDEA project files -/.idea/ +.idea/ diff --git a/phpcs.xml b/phpcs.xml index 373f879..390d1b5 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -1,26 +1,26 @@ - - - - + + + + - - + + - - + + - + - + - - src - tests + + src + tests - - - tests - + + + tests + diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 1dc0735..ccb4086 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -6,14 +6,14 @@ convertWarningsToExceptions="true" colors="true" verbose="true"> - - - tests - - - - - src - - + + + tests + + + + + src + +