From b7b61778a9693fe16d4825741d6a452639d99f41 Mon Sep 17 00:00:00 2001 From: Gemorroj Date: Tue, 8 Dec 2020 11:56:35 +0300 Subject: [PATCH] build: upd php-cs-fixer --- .editorconfig | 17 +++++++++++++++++ composer.json | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e3a0e18 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.php] +indent_size = 4 +indent_style = space + +[*.md] +trim_trailing_whitespace = false diff --git a/composer.json b/composer.json index 0aff014..bfb593b 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ }, "require-dev": { "phpunit/phpunit": "^9.5", - "friendsofphp/php-cs-fixer": "^2.16" + "friendsofphp/php-cs-fixer": "^2.17" }, "autoload": { "psr-4": {