Skip to content

Commit fe5f6e5

Browse files
committed
make compatible with php 8.x
1 parent 15181ec commit fe5f6e5

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/test-ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
fail-fast: false
1111
max-parallel: 1
1212
matrix:
13-
php-versions: ['5.4', '5.5', '5.6', '7.0']
13+
php-versions: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2']
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212

1313
## 安装
1414

15-
* 推荐使用 `composer` 进行安装。可以使用 composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 [`qiniu/php-sdk`][install-packagist]
15+
推荐使用 `composer` 进行安装。可以使用 composer.json 声明依赖,或者运行下面的命令。SDK 包已经放到这里 [`qiniu/php-sdk`][install-packagist]
16+
1617
```bash
1718
$ composer require qiniu/php-sdk
1819
```
19-
* 直接下载安装,SDK 没有依赖其他第三方库,但需要参照 composer 的 autoloader,增加一个自己的 autoloader 程序。
2020

2121
## 运行环境
2222

23-
| Qiniu SDK版本 | PHP 版本 |
24-
|:--------------------:|:---------------------------:|
25-
| 7.x | cURL extension, 5.3 - 5.6,7.0 |
26-
| 6.x | cURL extension, 5.2 - 5.6 |
23+
| Qiniu SDK版本 | PHP 版本 |
24+
|:--------------------:|:-----------------------------------------------:|
25+
| 7.x | cURL extension, 5.3 - 5.6, 7.0 - 7.4, 8.0-8.1 |
26+
| 6.x | cURL extension, 5.2 - 5.6 |
2727

2828
## 使用方法
2929

0 commit comments

Comments
 (0)