Skip to content

Commit d6e59f4

Browse files
Merge pull request influxdata#157 from zorac/php8
Add support for PHP 8
2 parents 447acb6 + 4bbdb98 commit d6e59f4

File tree

12 files changed

+1566
-610
lines changed

12 files changed

+1566
-610
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ vendor/
55
build/
66
test.php
77
.project
8-
clover.xml
8+
clover.xml
9+
.phpunit.result.cache

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ env:
1111
matrix:
1212
fast_finish: true
1313
include:
14-
# - php: 5.5 is over EOL. phpunit does not support it anymore so we just ignore this version
15-
- php: 5.6
16-
- php: 7.0
17-
- php: 7.1
18-
- php: 7.2
14+
# - php: <7.3 is over EOL. phpunit does not support it anymore so we just ignore this version
15+
- php: 7.3
16+
- php: 7.4
17+
- php: 8.0
1918

2019
before_install:
2120
# setup code climate reporter https://docs.codeclimate.com/docs/configuring-test-coverage

composer.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,12 @@
2626
}
2727
],
2828
"require": {
29-
"php": "^5.5 || ^7.0",
29+
"php": "^5.5 || ^7.0 || ^8.0",
3030
"guzzlehttp/guzzle": "^6.0|^7.0"
3131
},
3232
"require-dev": {
33-
"phpunit/phpunit": "^5.7"
33+
"phpunit/phpunit": "^9.5",
34+
"dms/phpunit-arraysubset-asserts": "^0.2.1"
3435
},
3536
"autoload": {
3637
"psr-4": {

0 commit comments

Comments
 (0)