File tree Expand file tree Collapse file tree 5 files changed +13
-10
lines changed
Expand file tree Collapse file tree 5 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11language : php
22
33php :
4- - 7.0
5- - 7.1
64 - 7.2
5+ - 7.3
76
87env :
98 matrix :
Original file line number Diff line number Diff line change 22
33All Notable changes to ` onesignal ` will be documented in this file
44
5+ ## 2.0.0 - Not released yet
6+ - Add compatibility for Laravel 6
7+ - Remove testing on old PHP versions (7.0,7.1) and test on 7.3
8+
59## 2.0.0-RC2 - 2019-02-07
610- Update the underlying ** berkayk/onesignal-laravel** Package to v1.0.1 ([ #60 ] ( https://github.com/laravel-notification-channels/onesignal/pull/60 ) )
711
Original file line number Diff line number Diff line change 2525 }
2626 ],
2727 "require" : {
28- "php" : " >=7.0 .0" ,
28+ "php" : " ^7.2 .0" ,
2929 "berkayk/onesignal-laravel" : " ^1.0.0" ,
30- "illuminate/notifications" : " 5.*" ,
31- "illuminate/support" : " 5.*"
30+ "illuminate/notifications" : " 5.*|^6.0 " ,
31+ "illuminate/support" : " 5.*|^6.0 "
3232 },
3333 "require-dev" : {
3434 "mockery/mockery" : " ^1.0" ,
35- "orchestra/testbench" : " ^3.5 " ,
36- "phpunit/phpunit" : " ^6.4 "
35+ "orchestra/testbench" : " ^4.0 " ,
36+ "phpunit/phpunit" : " ^8.0 "
3737 },
3838 "autoload" : {
3939 "psr-4" : {
Original file line number Diff line number Diff line change @@ -18,15 +18,15 @@ class ChannelTest extends TestCase
1818 /** @var \NotificationChannels\OneSignal\OneSignalChannel */
1919 protected $ channel ;
2020
21- public function setUp ()
21+ public function setUp (): void
2222 {
2323 parent ::setUp ();
2424 $ this ->oneSignal = Mockery::mock (OneSignalClient::class);
2525
2626 $ this ->channel = new OneSignalChannel ($ this ->oneSignal );
2727 }
2828
29- public function tearDown ()
29+ public function tearDown (): void
3030 {
3131 Mockery::close ();
3232 parent ::tearDown ();
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class MessageTest extends \PHPUnit\Framework\TestCase
1212 /** @var \NotificationChannels\OneSignal\OneSignalMessage */
1313 protected $ message ;
1414
15- public function setUp ()
15+ public function setUp (): void
1616 {
1717 parent ::setUp ();
1818 $ this ->message = new OneSignalMessage ();
You can’t perform that action at this time.
0 commit comments