Skip to content
This repository was archived by the owner on Jul 16, 2025. It is now read-only.

Commit 076ff69

Browse files
authored
chore: allow mongodb/mongodb 2.0 (#341)
closes #286 partially reverts #281
1 parent 37626a9 commit 076ff69

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/pipeline.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: pipeline
22
on: pull_request
33

4+
env:
5+
REQUIRED_PHP_EXTENSIONS: 'mongodb'
6+
47
jobs:
58
tests:
69
runs-on: ubuntu-latest
@@ -17,6 +20,7 @@ jobs:
1720
with:
1821
php-version: ${{ matrix.php }}
1922
coverage: "none"
23+
extensions: "${{ env.REQUIRED_PHP_EXTENSIONS }}"
2024

2125
- name: Install Composer
2226
uses: "ramsey/composer-install@v3"

composer.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,11 @@
3636
"symfony/uid": "^6.4 || ^7.1",
3737
"webmozart/assert": "^1.11"
3838
},
39-
"conflict": {
40-
"mongodb/mongodb": "<1.21"
41-
},
4239
"require-dev": {
4340
"codewithkyrian/chromadb-php": "^0.2.1 || ^0.3 || ^0.4",
4441
"codewithkyrian/transformers": "^0.5.3",
4542
"async-aws/bedrock-runtime": "^0.1.0",
46-
"mongodb/mongodb": "^1.21",
43+
"mongodb/mongodb": "^1.21 || ^2.0",
4744
"php-cs-fixer/shim": "^3.70",
4845
"phpstan/phpstan": "^2.0",
4946
"phpstan/phpstan-symfony": "^2.0",

0 commit comments

Comments
 (0)