Add php 8.0 config

This commit is contained in:
sc0Vu 2021-04-07 07:47:02 +08:00
parent 3c03f65b59
commit fd75dcaeac
No known key found for this signature in database
GPG Key ID: E09CA121538DB508
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ jobs:
name: Build and test web3.php with ${{ matrix.php-version }} name: Build and test web3.php with ${{ matrix.php-version }}
strategy: strategy:
matrix: matrix:
php-version: ["7.3", "7.4"] php-version: ["7.3", "7.4", "8.0"]
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -11,13 +11,13 @@
], ],
"require": { "require": {
"guzzlehttp/guzzle": "^6.3 | ^7.0", "guzzlehttp/guzzle": "^6.3 | ^7.0",
"PHP": "^7.1", "PHP": "^7.1 | ^8.0",
"kornrunner/keccak": "~1.0", "kornrunner/keccak": "~1.0",
"phpseclib/phpseclib": "~2.0.11", "phpseclib/phpseclib": "~2.0.11",
"ext-mbstring": "*" "ext-mbstring": "*"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~6.0" "phpunit/phpunit": "~6.0 | ~8.0"
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {