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
|
||||
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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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
4
composer.lock
generated
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue