From 65213d1553bf8bcf227a6690054697f6c310a9aa Mon Sep 17 00:00:00 2001 From: Dmitriy Kuts Date: Fri, 22 Jan 2021 18:13:16 +0100 Subject: [PATCH] Prepare release 1.1.0 --- .github/workflows/main.yml | 2 +- .scrutinizer.yml | 31 ------------------------------- CHANGELOG.md | 6 ++++++ README.md | 7 ++++--- composer.json | 6 ++++-- src/RocketChatHandler.php | 1 - tests/RocketChatHandlerTest.php | 1 - 7 files changed, 15 insertions(+), 39 deletions(-) delete mode 100644 .scrutinizer.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d5604a5..e346c73 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: false matrix: - php: [ 73, 74 ] + php: [ 73, 74, 80 ] steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 27497c2..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,31 +0,0 @@ -build: - nodes: - analysis: - project_setup: - override: true - tests: - override: [php-scrutinizer-run] - -filter: - excluded_paths: [tests/*] - -checks: - php: - remove_extra_empty_lines: true - remove_php_closing_tag: true - remove_trailing_whitespace: true - fix_use_statements: - remove_unused: true - preserve_multiple: false - preserve_blanklines: true - order_alphabetically: true - fix_php_opening_tag: true - fix_linefeed: true - fix_line_ending: true - fix_identation_4spaces: true - fix_doc_comments: true - -tools: - external_code_coverage: - timeout: 600 - runs: 3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 74261d9..0a3976d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,6 +21,12 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip ### Security - Nothing +## 1.1.0 - 2021-01-22 +### Added +- Support php 8.0 + +### Changed +- Migrate to `github action` ## 0.1.0 - 2020-02-13 diff --git a/README.md b/README.md index 689f63c..51327ec 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Latest Version on Packagist][ico-version]][link-packagist] [![Software License][ico-license]](LICENSE.md) [![Build Status][ico-github-actions]][link-github-actions] -[![Coverage Status][ico-scrutinizer]][link-scrutinizer] +[![Coverage Status][ico-styleci]][link-styleci] [![Quality Score][ico-code-quality]][link-code-quality] [![Total Downloads][ico-downloads]][link-downloads] @@ -58,13 +58,14 @@ The MIT License (MIT). Please see [License File](LICENSE.md) for more informatio [ico-version]: https://img.shields.io/packagist/v/exileed/rocketchat-monolog.svg?style=flat-square [ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square [ico-github-actions]: https://img.shields.io/github/workflow/status/exileed/rocketchat-monolog/test -[ico-scrutinizer]: https://img.shields.io/scrutinizer/coverage/g/exileed/rocketchat-monolog.svg?style=flat-square +[ico-styleci]: https://styleci.io/repos/205563986/shield [ico-code-quality]: https://img.shields.io/scrutinizer/g/exileed/rocketchat-monolog.svg?style=flat-square [ico-downloads]: https://img.shields.io/packagist/dt/exileed/rocketchat-monolog.svg?style=flat-square [link-packagist]: https://packagist.org/packages/exileed/rocketchat-monolog [link-github-actions]: https://github.com/exileed/rocketchat-monolog/build -[link-scrutinizer]: https://scrutinizer-ci.com/g/exileed/rocketchat-monolog/code-structure +[link-styleci]: https://styleci.io/repos/205563986 [link-code-quality]: https://scrutinizer-ci.com/g/exileed/rocketchat-monolog [link-downloads]: https://packagist.org/packages/exileed/rocketchat-monolog +[link-contributors]: https://github.com/exileed/rocketchat-monolog/graphs/contributors [link-author]: https://github.com/exileed diff --git a/composer.json b/composer.json index d80dfbc..ddcf19b 100644 --- a/composer.json +++ b/composer.json @@ -4,6 +4,8 @@ "description": "RocketChat Monolog Handler", "keywords": [ "exileed", + "rocketchat", + "monolog-handler", "rocketchat-monolog" ], "homepage": "https://github.com/exileed/rocketchat-monolog", @@ -16,7 +18,7 @@ } ], "require": { - "php" : "~7.3", + "php" : "~7.3 || 8.0", "monolog/monolog": "^2.0", "guzzlehttp/guzzle": "^6 || ^7" }, @@ -41,7 +43,7 @@ }, "extra": { "branch-alias": { - "dev-master": "0.2-dev" + "dev-master": "1.x-dev" } }, "config": { diff --git a/src/RocketChatHandler.php b/src/RocketChatHandler.php index eaf15a8..9470fb1 100644 --- a/src/RocketChatHandler.php +++ b/src/RocketChatHandler.php @@ -16,7 +16,6 @@ */ class RocketChatHandler extends AbstractProcessingHandler { - /** * Colors for a given log level. * diff --git a/tests/RocketChatHandlerTest.php b/tests/RocketChatHandlerTest.php index 2f69b44..eaa022b 100644 --- a/tests/RocketChatHandlerTest.php +++ b/tests/RocketChatHandlerTest.php @@ -17,7 +17,6 @@ class RocketChatHandlerTest extends TestCase { - public function testOkResponse() { $mock = new MockHandler(