From 2c562344267d5b0ced97c1d3ac4d776e36e2e87f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Turan=20Karatu=C4=9F?= Date: Thu, 3 Jun 2021 12:52:28 +0300 Subject: [PATCH] PHP 8 support added. --- .github/workflows/tests.yml | 2 +- .scrutinizer.yml | 19 ------------------- CHANGELOG.md | 4 ++++ README.md | 2 +- composer.json | 2 +- 5 files changed, 7 insertions(+), 22 deletions(-) delete mode 100755 .scrutinizer.yml diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 191951b..a6d30e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: [7.4] + php: [7.4, 8.0] laravel: [8.*] dependency-version: [prefer-lowest, prefer-stable] diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100755 index df16b68..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,19 +0,0 @@ -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 - diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ea7a52..ece8a06 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to `netgsm` will be documented in this file ## Unreleased +## [4.2.0] - 2021-06-03 + +- PHP 8 support added. + ## [4.1.0] - 2021-06-01 - Bulk address adding support added to IYS. diff --git a/README.md b/README.md index 1fc5627..ae7da71 100755 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ With this package, you can send easily [Netgsm notifications](https://www.netgsm.com.tr/dokuman/#api-dok%C3%BCman%C4%B1) with Laravel `^8.0`. This package also provides some simple reporting. -> This package requires PHP 7.3 and Laravel `8.0` or higher. +> This package requires PHP `7.3` or higher and Laravel `8.0` or higher. > For older versions of Laravel, please use version `^2.0.0` of this package! ## Contents diff --git a/composer.json b/composer.json index 1c9193d..7701393 100755 --- a/composer.json +++ b/composer.json @@ -31,7 +31,7 @@ } ], "require": { - "php": "^7.4", + "php": "^7.4 || ^8.0", "guzzlehttp/guzzle": "^7.1", "illuminate/support": "^8.0", "illuminate/notifications": "^8.0",