Add PHP8.0 and JSON & cURL extension checking

This commit is contained in:
peter279k 2020-12-25 03:07:16 +08:00 committed by Josh Sherman
parent b15f862193
commit b398ba5013
2 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4']
php-version: ['5.3', '5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
steps:
- name: Checkout
uses: actions/checkout@v2

View file

@ -17,10 +17,12 @@
"homepage": "https://holidayapi.com"
}],
"require": {
"php": ">=5.3"
"php": ">=5.3",
"ext-json": "*",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36"
"phpunit/phpunit": "^4.8.36 || ^9.0"
},
"autoload": {
"psr-4": {