Skip to content

Commit

Permalink
Bump min PHP to 7.0, start running tests on 7.1 and 7.2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bookernath committed Mar 21, 2018
1 parent 6016f47 commit 6800595
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
language: php
php:
- 7.2
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3
before_script:
- composer install --dev --optimize-autoloader
- mkdir -p build/logs
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http://developer.bigcommerce.com/
Requirements
------------

- PHP 5.3 or greater
- PHP 7.0 or greater
- cUrl extension enabled

**To connect to the API with basic auth you need the following:**
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}
],
"require": {
"php": ">=5.3.0",
"php": ">=7.0",
"firebase/php-jwt": "~3.0|~5.0",
"paragonie/random_compat": "~1.4|~2.0"
},
Expand Down

0 comments on commit 6800595

Please sign in to comment.