From 7a8b45f647a1efc645d65ee4aad9bd44b3975153 Mon Sep 17 00:00:00 2001 From: Tint Naing Win Date: Sun, 5 Dec 2021 09:48:55 +0630 Subject: [PATCH] v1.2.0 --- .scrutinizer.yml | 21 ------------------ .styleci.yml | 1 - .travis.yml | 57 ------------------------------------------------ CHANGELOG.md | 5 +++++ README.md | 8 ++----- composer.json | 14 ++++++------ 6 files changed, 14 insertions(+), 92 deletions(-) delete mode 100644 .scrutinizer.yml delete mode 100644 .styleci.yml delete mode 100644 .travis.yml diff --git a/.scrutinizer.yml b/.scrutinizer.yml deleted file mode 100644 index 6fad5be..0000000 --- a/.scrutinizer.yml +++ /dev/null @@ -1,21 +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 - -tools: - external_code_coverage: true diff --git a/.styleci.yml b/.styleci.yml deleted file mode 100644 index 0285f17..0000000 --- a/.styleci.yml +++ /dev/null @@ -1 +0,0 @@ -preset: laravel diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 15e608c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,57 +0,0 @@ -language: php - -php: - - '7.2' - - '7.3' - - '7.4' - -matrix: - fast_finish: true - include: - - php: 7.2 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.3 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.4 - env: LARAVEL='5.8.*' TESTBENCH='3.8.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.2 - env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.3 - env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.4 - env: LARAVEL='6.*' TESTBENCH='4.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.2.5 - env: LARAVEL='7.*' TESTBENCH='5.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.3 - env: LARAVEL='7.*' TESTBENCH='5.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.4 - env: LARAVEL='7.*' TESTBENCH='5.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.3 - env: LARAVEL='8.*' TESTBENCH='6.*' COMPOSER_FLAGS='--prefer-stable' - - - php: 7.4 - env: LARAVEL='8.*' TESTBENCH='6.*' COMPOSER_FLAGS='--prefer-stable' - -env: - matrix: - - COMPOSER_FLAGS="--prefer-stable" - - COMPOSER_FLAGS="" - -before_script: - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source - -script: - - ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - -after_script: - - wget https://scrutinizer-ci.com/ocular.phar - - php ocular.phar code-coverage:upload --format=php-clover coverage.clover diff --git a/CHANGELOG.md b/CHANGELOG.md index fcdbfe5..fd9fcd9 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,3 +13,8 @@ All notable changes to `smspoh` will be documented in this file ## 1.1.0 - 2020-09-26 - Laravel 8 support + +## 1.2.0 - 2021-12-05 + +- Add PHP 8 support +- Drop Laravel 5.* diff --git a/README.md b/README.md index 064fb95..3c89458 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,10 @@ # Smspoh Notifications Channel for Laravel [![Latest Version on Packagist](https://img.shields.io/packagist/v/laravel-notification-channels/smspoh.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/smspoh) -[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) -[![Build Status](https://img.shields.io/travis/laravel-notification-channels/smspoh/master.svg?style=flat-square)](https://travis-ci.org/laravel-notification-channels/smspoh) -[![StyleCI](https://styleci.io/repos/229822475/shield)](https://styleci.io/repos/:style_ci_id) -[![Quality Score](https://img.shields.io/scrutinizer/g/laravel-notification-channels/smspoh.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/smspoh) -[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/smspoh/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/smspoh/?branch=master) [![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/smspoh.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/smspoh) +[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) -This package makes it easy to send notifications using [SmsPoh](https://smspoh.com/) with Laravel 5.5+, 6.x, 7.x and 8.x +This package makes it easy to send notifications using [SmsPoh](https://smspoh.com/) with Laravel 6.x, 7.x and 8.x ## Contents diff --git a/composer.json b/composer.json index 9926851..7b723de 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "laravel-notification-channels/smspoh", - "description": "Smspoh Notifications channel for Laravel >= 5.5, 6 and 7.", + "description": "Smspoh Notifications channel for Laravel 6, 7 and 8.", "keywords": ["laravel", "notifications", "smspoh", "message", "sms", "myanmar", "MPT", "Telenor", "Ooredoo", "MyTel"], "homepage": "https://github.com/laravel-notification-channels/smspoh", "license": "MIT", @@ -13,16 +13,16 @@ } ], "require": { - "php": ">=7.2", + "php": "^7.2 || ^8.0", "ext-json": "*", "guzzlehttp/guzzle": "^6.4 || ^7.0", - "illuminate/notifications": "5.5 - 5.8 || ~6.0 || ~7.0 || ~8.0", - "illuminate/support": "5.5 - 5.8 || ~6.0 || ~7.0 || ~8.0" + "illuminate/notifications": "^6.0 || ^7.0 || ^8.0", + "illuminate/support": "^6.0 || ^7.0 || ^8.0" }, "require-dev": { - "mockery/mockery": "^1.0", - "phpunit/phpunit": "^7.0|^8.0", - "orchestra/testbench": "^3.5|^4.0|^5.0|^6.0" + "mockery/mockery": "^1.3", + "phpunit/phpunit": "^8.0|^9.0", + "orchestra/testbench": "^4.0|^5.0|^6.0" }, "autoload": { "psr-4": {