update ext-mongodb to correct version
Some checks failed
CI / test (8.2) (push) Has been cancelled
CI / test (8.3) (push) Has been cancelled

This commit is contained in:
Funky Waddle 2026-01-07 16:59:56 -06:00
parent 2f29ae9826
commit 9455d31904
4 changed files with 7 additions and 7 deletions

View file

@ -55,8 +55,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
# Pin ext-mongodb to a 1.20+ line compatible with mongodb/mongodb ^1.20
extensions: pdo, pdo_mysql, pdo_sqlite, pdo_pgsql, mongodb-1.20.1
# 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.21.0
coverage: none
- name: Install dependencies

View file

@ -30,7 +30,7 @@ composer install
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
MONGO_HOST=127.0.0.1 MONGO_PORT=27017 vendor/bin/phpunit --group mongo-integration
```

View file

@ -39,8 +39,8 @@
},
"require": {
"php": "^8.2",
"ext-mongodb": "^1.20",
"mongodb/mongodb": "^1.20",
"ext-mongodb": "^1.21",
"mongodb/mongodb": "^1.21",
"psr/simple-cache": "^3.0"
},
"autoload": {

4
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "11f93ad2569b5071bfe47d842a4fa8da",
"content-hash": "4b460634f481dac571848ddf91d287ae",
"packages": [
{
"name": "mongodb/mongodb",
@ -1862,7 +1862,7 @@
"prefer-lowest": false,
"platform": {
"php": "^8.2",
"ext-mongodb": "^1.20"
"ext-mongodb": "^1.21"
},
"platform-dev": {},
"plugin-api-version": "2.6.0"