Skip to content

Commit 6800595

Browse files
committed
Bump min PHP to 7.0, start running tests on 7.1 and 7.2
PHP 5.6 is the lowest supported version these days: http://php.net/supported-versions.php Therefore, I've updated readmes and other things to remove support for anything lower. I've also added 7.1 and 7.2 to Travis so we can start testing for compatibility with modern versions.
1 parent 6016f47 commit 6800595

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
language: php
22
php:
3+
- 7.2
4+
- 7.1
35
- 7.0
4-
- 5.6
5-
- 5.5
6-
- 5.4
7-
- 5.3
86
before_script:
97
- composer install --dev --optimize-autoloader
108
- mkdir -p build/logs

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ http://developer.bigcommerce.com/
1616
Requirements
1717
------------
1818

19-
- PHP 5.3 or greater
19+
- PHP 7.0 or greater
2020
- cUrl extension enabled
2121

2222
**To connect to the API with basic auth you need the following:**

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.3.0",
15+
"php": ">=7.0",
1616
"firebase/php-jwt": "~3.0|~5.0",
1717
"paragonie/random_compat": "~1.4|~2.0"
1818
},

0 commit comments

Comments
 (0)