Skip to content

Commit

Permalink
Merge pull request #20 from tarfin-labs/feature/upgrade-packages-for-…
Browse files Browse the repository at this point in the history
…laravel-8

Upgrade packages for Laravel 8
  • Loading branch information
deligoez authored Oct 8, 2020
2 parents 6bbbcee + 41fe6bf commit ffe6d19
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 45 deletions.
22 changes: 13 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,35 @@ All notable changes to `netgsm` will be documented in this file

## Unreleased

## [3.0.1] - 2020-10-08

- Upgrade packages for Laravel 8.
- Migrate phpunit config.

## [3.0.0] - 2020-10-06

- 2020-10-06: Laravel netgsm now compatible with Laravel 8.
- Laravel Netgsm package now compatible with Laravel 8.

## 2.1.1 - 2020-03-05

- "vendor:publish" section in the documentation has been fixed.
- error code descriptions fixed for balance service
- `vendor:publish` section in the documentation has been fixed.
- Error code descriptions fixed for balance service

## 2.1.0 - 2020-03-04

- added an exception for unhandled netgsm error codes.
- Added an exception for unhandled Netgsm error codes.
- Laravel 7 support added.

## 2.0.0 - 2020-03-02

- namespaces and folder structure changed
- available credit and packages service added
- tests updated
- Namespaces and folder structure changed
- Available credit and packages service added
- Tests updated

## 1.0.1 - 2020-02-17

- default sms sending method changed to get
- Default SMS sending method changed to `get`

## 1.0.0 - 2020-02-17

- initial release
- Initial release
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
[![Total Downloads](https://img.shields.io/packagist/dt/tarfin-labs/netgsm.svg?style=flat-square)](https://packagist.org/packages/tarfin-labs/netgsm)

## Introduction
With this package, you can send easily [Netgsm notifications](https://www.netgsm.com.tr/dokuman/#api-dok%C3%BCman%C4%B1) with Laravel 6.x, 7.x.
Also, this package provides simple reporting.
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.
> For older versions of Laravel, please use version `^2.0.0` of this package!
## Contents

Expand Down
14 changes: 7 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,18 @@
],
"require": {
"php": "^7.3",
"guzzlehttp/guzzle": "^6.5",
"illuminate/support": "^6.0|^7.0|^8.0",
"illuminate/notifications": "^6.0|^7.0|^8.0",
"illuminate/translation": "^6.0|^7.0|^8.0",
"guzzlehttp/guzzle": "^7.1",
"illuminate/support": "^8.0",
"illuminate/notifications": "^8.0",
"illuminate/translation": "^8.0",
"nesbot/carbon": "^2.0",
"ext-simplexml": "*"
},
"require-dev": {
"fzaninotto/faker": "^1.9",
"mockery/mockery": "^1.3",
"orchestra/testbench": "^4.0|^5.0|~6.0",
"phpunit/phpunit": "^9.0"
"phpunit/phpunit": "^9.4",
"mockery/mockery": "^1.4",
"orchestra/testbench": "^6.0"
},
"autoload": {
"psr-4": {
Expand Down
46 changes: 19 additions & 27 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" />
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false" colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
</report>
</coverage>
<testsuites>
<testsuite name="Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
</phpunit>

0 comments on commit ffe6d19

Please sign in to comment.