Skip to content

Commit c92de14

Browse files
authored
Remove compatibility with PHP<7 and upgrade deps (#124)
* Rm compatibility with PHP<7 and upgrade deps * Add note about HHVM * Remove 5.6 and HHVM from Travis testing * Update web-push-testing-service
1 parent 7b67516 commit c92de14

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.travis.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ cache:
88
- ~/.selenium-assistant
99

1010
php:
11-
- 5.6
12-
- hhvm
1311
- 7.0
1412
- 7.1
1513

@@ -20,7 +18,7 @@ before_install:
2018
- nvm install node
2119

2220
install:
23-
- npm install web-push-testing-service -g
21+
- npm install https://github.com/GoogleChromeLabs/web-push-testing-service -g
2422

2523
before_script:
2624
- composer install --prefer-source -n

README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ the [Web Push protocol](https://tools.ietf.org/html/draft-thomson-webpush-protoc
99
As it is standardized, you don't have to worry about what server type it relies on.
1010

1111
## Requirements
12-
* PHP 5.6
12+
* PHP 7.0+
1313
* gmp
1414
* mbstring
1515
* curl
1616
* openssl
1717

18-
PHP 7.1 is recommended for better performance.
18+
PHP 7.1+ is recommended for better performance.
19+
For PHP 5.6 or HHVM compatibility, use the v1.x releases.
1920

2021
## Installation
2122
Use [composer](https://getcomposer.org/) to download and install the library and its dependencies.

composer.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^5.6 || ^7.0",
17-
"mdanter/ecc": "^0.4.0",
16+
"php": "^7.0",
17+
"mdanter/ecc": "^0.5.0",
1818
"lib-openssl": "*",
1919
"spomky-labs/base64url": "^1.0",
2020
"spomky-labs/php-aes-gcm": "^1.2",
21-
"spomky-labs/jose": "^6.0",
21+
"spomky-labs/jose": "^7.0",
2222
"guzzlehttp/guzzle": "^6.2"
2323
},
2424
"require-dev": {

0 commit comments

Comments
 (0)