From f89f9db9759291cfea96ea4ef20dab17d9205746 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 11 Nov 2017 18:41:33 +0700 Subject: [PATCH 1/4] Added .editorconfig file. See: http://editorconfig.org. --- .editorconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..49a3ae29 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,18 @@ +; 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 + +[*.yml] +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false From 22081b682bc3edd7b02b8ba7570a45e31df47247 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 11 Nov 2017 18:57:52 +0700 Subject: [PATCH 2/4] Added code coverage by Codecov. --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 43ea999b..46938bd7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,7 +27,10 @@ before_script: - if [[ "$TYPE" == "pgsql" ]]; then psql -c 'create database b8_test;' -U postgres; fi script: - - vendor/bin/phpunit --configuration phpunit.$TYPE.xml --coverage-text + - vendor/bin/phpunit --configuration phpunit.$TYPE.xml --coverage-clover=coverage.xml + +after_success: + - bash <(curl -s https://codecov.io/bash) notifications: email: From b0032805751f65a113cf9d86df34b34e21444a54 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 11 Nov 2017 19:07:18 +0700 Subject: [PATCH 3/4] Added VERSION.md file with current PHP Censor version. --- VERSION.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 VERSION.md diff --git a/VERSION.md b/VERSION.md new file mode 100644 index 00000000..66333910 --- /dev/null +++ b/VERSION.md @@ -0,0 +1 @@ +0.18.0 From 07363f1761500c49f9ed0cc4f35b4be6d0b41444 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Sat, 11 Nov 2017 19:29:09 +0700 Subject: [PATCH 4/4] Added CONTRIBUTING.md, ISSUE_TEMPLATE.md and PULL_REQUEST_TEMPLATE.md for Github. --- CONTRIBUTING.md | 8 ++++++++ ISSUE_TEMPLATE.md | 19 +++++++++++++++++++ PULL_REQUEST_TEMPLATE.md | 9 +++++++++ 3 files changed, 36 insertions(+) create mode 100644 CONTRIBUTING.md create mode 100644 ISSUE_TEMPLATE.md create mode 100644 PULL_REQUEST_TEMPLATE.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..8b2f2f04 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,8 @@ +Contribution Guidelines +======================= + +Coding Standards +---------------- + +The code is written to follow +[PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) standards. diff --git a/ISSUE_TEMPLATE.md b/ISSUE_TEMPLATE.md new file mode 100644 index 00000000..78f6268b --- /dev/null +++ b/ISSUE_TEMPLATE.md @@ -0,0 +1,19 @@ +Expected behaviour +------------------ + +*Please describe what you're expecting to see happen.* + +Actual behaviour +---------------- + +*Please describe what you're actually seeing happen.* + +Steps to reproduce +------------------ + +*If your issue requires any specific steps to reproduce, please outline them here.* + +Environment info +---------------- + +*OS, PHP version, MySQL/PostgreSQL version.* diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..90d2a9b7 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +Contribution Typ +---------------- + +*Bug fix, new plugin, feature, ui etc.* + +Description of change +--------------------- + +*Detailed description of change.*