Skip to content

Commit a737ac8

Browse files
committed
Dropping PHP 5.5 support
1 parent 8fc5b69 commit a737ac8

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
language: php
22

33
php:
4-
- 5.5
54
- 5.6
65
- 7.0
76
- 7.1
87
- 7.2
98
- 7.3
109
- nightly
11-
- hhvm
1210

1311
# run build against nightly but allow them to fail
1412
matrix:
@@ -18,7 +16,6 @@ matrix:
1816
env: CS_FIXER=run
1917
allow_failures:
2018
- php: 7.3
21-
- php: hhvm
2219
- php: nightly
2320

2421
# faster builds on new travis setup not using sudo

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Uses [Imgur API v3](https://api.imgur.com/).
1414
* Branch [2.x](https://github.com/j0k3r/php-imgur-api-client/tree/2.x) use Guzzle 5
1515
* Branch [3.x](https://github.com/j0k3r/php-imgur-api-client/tree/3.x) use Guzzle 6
1616

17-
All actives branches required PHP >= 5.5
17+
All actives branches required PHP >= 5.6
1818

1919
## Composer
2020

@@ -52,7 +52,7 @@ if (isset($_SESSION['token'])) {
5252
$client->setAccessToken($_SESSION['token']);
5353

5454
if ($client->checkAccessTokenExpired()) {
55-
$client->refreshToken();
55+
$client->refreshToken();
5656
}
5757
} elseif (isset($_GET['code'])) {
5858
$client->requestAccessToken($_GET['code']);

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"require": {
37-
"php": ">=5.5.0",
37+
"php": ">=5.6.0",
3838
"ext-curl": "*",
3939
"guzzlehttp/guzzle": "^5.3.1"
4040
},

0 commit comments

Comments
 (0)