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 +}