update ext-mongodb to correct version
This commit is contained in:
parent
2f29ae9826
commit
9455d31904
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -55,8 +55,8 @@ jobs:
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
php-version: ${{ matrix.php }}
|
php-version: ${{ matrix.php }}
|
||||||
# Pin ext-mongodb to a 1.20+ line compatible with mongodb/mongodb ^1.20
|
# Pin ext-mongodb to a 1.21+ line compatible with mongodb/mongodb ^1.20 (which resolves to 1.21+)
|
||||||
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, mongodb-1.20.1
|
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, mongodb-1.21.0
|
||||||
coverage: none
|
coverage: none
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ composer install
|
||||||
vendor/bin/phpunit
|
vendor/bin/phpunit
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Run MongoDB integration tests** (requires `ext-mongodb >= 1.20` and a reachable server):
|
- **Run MongoDB integration tests** (requires `ext-mongodb >= 1.21` and a reachable server):
|
||||||
```bash
|
```bash
|
||||||
MONGO_HOST=127.0.0.1 MONGO_PORT=27017 vendor/bin/phpunit --group mongo-integration
|
MONGO_HOST=127.0.0.1 MONGO_PORT=27017 vendor/bin/phpunit --group mongo-integration
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"ext-mongodb": "^1.20",
|
"ext-mongodb": "^1.21",
|
||||||
"mongodb/mongodb": "^1.20",
|
"mongodb/mongodb": "^1.21",
|
||||||
"psr/simple-cache": "^3.0"
|
"psr/simple-cache": "^3.0"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
|
|
||||||
4
composer.lock
generated
4
composer.lock
generated
|
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "11f93ad2569b5071bfe47d842a4fa8da",
|
"content-hash": "4b460634f481dac571848ddf91d287ae",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "mongodb/mongodb",
|
"name": "mongodb/mongodb",
|
||||||
|
|
@ -1862,7 +1862,7 @@
|
||||||
"prefer-lowest": false,
|
"prefer-lowest": false,
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "^8.2",
|
"php": "^8.2",
|
||||||
"ext-mongodb": "^1.20"
|
"ext-mongodb": "^1.21"
|
||||||
},
|
},
|
||||||
"platform-dev": {},
|
"platform-dev": {},
|
||||||
"plugin-api-version": "2.6.0"
|
"plugin-api-version": "2.6.0"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue