Skip to content

Commit 972fac8

Browse files
committed
Remove compatibility with PHP<7 and upgrade deps
1 parent 05243db commit 972fac8

File tree

4 files changed

+12
-7
lines changed

4 files changed

+12
-7
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
language: php
22

33
php:
4-
- 5.6
54
- 7.0
65
- 7.1
6+
- 7.2
77

88
env:
99
matrix:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All Notable changes to `laravel-notification-channels/webpush` will be documented in this file
44

5+
## 2.0.0 - 2017-10-23
6+
7+
- Removed compatibility with PHP<7 and upgrade deps.
8+
59
## 1.0.0 - 2017-03-25
610

711
- Added support for VAPID.

composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.6.4",
15+
"php": "^7.0",
1616
"illuminate/notifications": "^5.3",
1717
"illuminate/support": "^5.1",
18-
"minishlink/web-push": "^2.0.0"
18+
"minishlink/web-push": "^2.0"
1919
},
2020
"require-dev": {
21-
"mockery/mockery": "^0.9.5",
22-
"phpunit/phpunit": "^5.7",
23-
"orchestra/testbench": "^3.4.6"
21+
"mockery/mockery": "~1.0",
22+
"phpunit/phpunit": "~6.0",
23+
"orchestra/testbench": "^3.5"
2424
},
2525
"autoload": {
2626
"psr-4": {

tests/MessageTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
namespace NotificationChannels\WebPush\Test;
44

5+
use PHPUnit\Framework\TestCase;
56
use NotificationChannels\WebPush\WebPushMessage;
67

7-
class MessageTest extends \PHPUnit_Framework_TestCase
8+
class MessageTest extends TestCase
89
{
910
/** @var \NotificationChannels\WebPush\WebPushMessage */
1011
protected $message;

0 commit comments

Comments
 (0)