Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #157 from zorac/php8
Browse files Browse the repository at this point in the history
Add support for PHP 8
  • Loading branch information
thecodeassassin authored Dec 26, 2020
2 parents 447acb6 + 4bbdb98 commit d6e59f4
Show file tree
Hide file tree
Showing 12 changed files with 1,566 additions and 610 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ vendor/
build/
test.php
.project
clover.xml
clover.xml
.phpunit.result.cache
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ env:
matrix:
fast_finish: true
include:
# - php: 5.5 is over EOL. phpunit does not support it anymore so we just ignore this version
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
# - php: <7.3 is over EOL. phpunit does not support it anymore so we just ignore this version
- php: 7.3
- php: 7.4
- php: 8.0

before_install:
# setup code climate reporter https://docs.codeclimate.com/docs/configuring-test-coverage
Expand Down
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@
}
],
"require": {
"php": "^5.5 || ^7.0",
"php": "^5.5 || ^7.0 || ^8.0",
"guzzlehttp/guzzle": "^6.0|^7.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
"phpunit/phpunit": "^9.5",
"dms/phpunit-arraysubset-asserts": "^0.2.1"
},
"autoload": {
"psr-4": {
Expand Down
Loading

0 comments on commit d6e59f4

Please sign in to comment.