diff --git a/.travis.yml b/.travis.yml index 591610a..16142e3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,8 @@ language: php php: - - 7.0 - - 7.1 - 7.2 + - 7.3 env: matrix: diff --git a/CHANGELOG.md b/CHANGELOG.md index e508d36..654aad3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All Notable changes to `onesignal` will be documented in this file +## 2.0.0 - Not released yet +- Add compatibility for Laravel 6 +- Remove testing on old PHP versions (7.0,7.1) and test on 7.3 + ## 2.0.0-RC2 - 2019-02-07 - Update the underlying **berkayk/onesignal-laravel** Package to v1.0.1 ([#60](https://github.com/laravel-notification-channels/onesignal/pull/60)) diff --git a/composer.json b/composer.json index 8e35959..6e55ec7 100644 --- a/composer.json +++ b/composer.json @@ -25,15 +25,15 @@ } ], "require": { - "php": ">=7.0.0", + "php": "^7.2.0", "berkayk/onesignal-laravel": "^1.0.0", - "illuminate/notifications": "5.*", - "illuminate/support": "5.*" + "illuminate/notifications": "5.*|^6.0", + "illuminate/support": "5.*|^6.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^3.5", - "phpunit/phpunit": "^6.4" + "orchestra/testbench": "^4.0", + "phpunit/phpunit": "^8.0" }, "autoload": { "psr-4": { diff --git a/tests/ChannelTest.php b/tests/ChannelTest.php index 3e711db..d1b363e 100644 --- a/tests/ChannelTest.php +++ b/tests/ChannelTest.php @@ -18,7 +18,7 @@ class ChannelTest extends TestCase /** @var \NotificationChannels\OneSignal\OneSignalChannel */ protected $channel; - public function setUp() + public function setUp(): void { parent::setUp(); $this->oneSignal = Mockery::mock(OneSignalClient::class); @@ -26,7 +26,7 @@ public function setUp() $this->channel = new OneSignalChannel($this->oneSignal); } - public function tearDown() + public function tearDown(): void { Mockery::close(); parent::tearDown(); diff --git a/tests/MessageTest.php b/tests/MessageTest.php index 0b0a145..6ab390b 100644 --- a/tests/MessageTest.php +++ b/tests/MessageTest.php @@ -12,7 +12,7 @@ class MessageTest extends \PHPUnit\Framework\TestCase /** @var \NotificationChannels\OneSignal\OneSignalMessage */ protected $message; - public function setUp() + public function setUp(): void { parent::setUp(); $this->message = new OneSignalMessage();