mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2026-09-04 23:12:09 +08:00
发布: 兼容 PHP 8.1
This commit is contained in:
parent
872eef4eee
commit
cfc7fa4e6f
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -13,6 +13,10 @@ permissions:
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
php-version: ['8.1', '8.2', '8.3', '8.4']
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@ -20,7 +24,7 @@ jobs:
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.4'
|
||||
php-version: ${{ matrix.php-version }}
|
||||
extensions: json, openssl, simplexml
|
||||
coverage: none
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ WeChatDeveloper 是一个面向 **微信** 与 **支付宝** 的轻量 PHP SDK
|
||||
|
||||
## 环境要求
|
||||
|
||||
- PHP `>= 8.4`
|
||||
- PHP `>= 8.1`
|
||||
- `ext-json`
|
||||
- `ext-openssl`
|
||||
- `ext-simplexml`
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=8.4",
|
||||
"php": ">=8.1",
|
||||
"ext-json": "*",
|
||||
"ext-openssl": "*",
|
||||
"ext-simplexml": "*",
|
||||
@ -26,7 +26,7 @@
|
||||
"psr/simple-cache": "^3.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "^11.5"
|
||||
"phpunit/phpunit": "^10.5 || ^11.5"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user