From 485a9dcf01c7a5406ab4b1b43df5492961490251 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Mon, 25 Dec 2017 19:03:12 +0700 Subject: [PATCH] Added .editorconfig file. See: http://editorconfig.org. --- .editorconfig | 15 +++++++++ composer.json | 84 +++++++++++++++++++++++++++----------------------- infection.json | 2 +- 3 files changed, 62 insertions(+), 39 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..77245ac --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +; 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 +indent_style = space +indent_size = 4 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.md] +trim_trailing_whitespace = false diff --git a/composer.json b/composer.json index 4d3ec13..e2e5342 100644 --- a/composer.json +++ b/composer.json @@ -1,41 +1,49 @@ { - "name": "corpsee/nameless-utilities", - "description": "PHP Utilities compliant with PSR-1, PSR-2, PSR-4 and Composer", - "minimum-stability": "stable", - "type": "library", - "keywords": ["php", "utilities", "helpers", "humanize", "transliterate", "standardize", "url"], - "homepage": "https://github.com/corpsee/nameless-utilities", - "license": "GPL-3.0", - "authors": [ - { - "name": "Dmitry Khomutov", - "email": "poisoncorpsee@gmail.com", - "homepage": "http://corpsee.com", - "role": "Developer" + "name": "corpsee/nameless-utilities", + "description": "PHP Utilities compliant with PSR-1, PSR-2, PSR-4 and Composer", + "minimum-stability": "stable", + "type": "library", + "keywords": [ + "php", + "utilities", + "helpers", + "humanize", + "transliterate", + "standardize", + "url" + ], + "homepage": "https://github.com/corpsee/nameless-utilities", + "license": "GPL-3.0", + "authors": [ + { + "name": "Dmitry Khomutov", + "email": "poisoncorpsee@gmail.com", + "homepage": "http://corpsee.com", + "role": "Developer" + } + ], + "support": { + "issues": "https://github.com/corpsee/nameless-utilities/issues", + "source": "https://github.com/corpsee/nameless-utilities" + }, + "autoload": { + "psr-4": { + "Nameless\\Utilities\\": "src" + } + }, + "autoload-dev": { + "psr-4": { + "Nameless\\Utilities\\Tests\\": "tests/src" + } + }, + "require": { + "php": ">=5.6.0", + "ext-mbstring": "*" + }, + "require-dev": { + "phpunit/phpunit": "~5.7", + "doctrine/instantiator": "1.0.*", + "phpunit/php-token-stream": "~1.0", + "phpdocumentor/reflection-docblock": "~2.0" } - ], - "support": { - "issues": "https://github.com/corpsee/nameless-utilities/issues", - "source": "https://github.com/corpsee/nameless-utilities" - }, - "autoload": { - "psr-4": { - "Nameless\\Utilities\\": "src" - } - }, - "autoload-dev": { - "psr-4": { - "Nameless\\Utilities\\Tests\\": "tests/src" - } - }, - "require": { - "php": ">=5.6.0", - "ext-mbstring": "*" - }, - "require-dev": { - "phpunit/phpunit": "~5.7", - "doctrine/instantiator": "1.0.*", - "phpunit/php-token-stream": "~1.0", - "phpdocumentor/reflection-docblock": "~2.0" - } } diff --git a/infection.json b/infection.json index c77014b..3524071 100644 --- a/infection.json +++ b/infection.json @@ -8,4 +8,4 @@ "logs": { "text": ".\/tests\/runtime\/infection.log" } -} \ No newline at end of file +}