Skip to content

Commit 462d922

Browse files
authored
Merge pull request #1827 from GromNaN/mongodb-v2
[GridFS] Allow installation with mongodb lib v2
2 parents 1af5c0b + f7183ea commit 462d922

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"ext-zip": "*",
2626
"ext-fileinfo": "*",
2727
"ext-ftp": "*",
28-
"ext-mongodb": "^1.3",
28+
"ext-mongodb": "^1.3|^2",
2929
"microsoft/azure-storage-blob": "^1.1",
3030
"phpunit/phpunit": "^9.5.11|^10.0",
3131
"phpstan/phpstan": "^1.10",
@@ -36,7 +36,7 @@
3636
"google/cloud-storage": "^1.23",
3737
"async-aws/s3": "^1.5 || ^2.0",
3838
"async-aws/simple-s3": "^1.1 || ^2.0",
39-
"mongodb/mongodb": "^1.2",
39+
"mongodb/mongodb": "^1.2|^2",
4040
"sabre/dav": "^4.6.0",
4141
"guzzlehttp/psr7": "^2.6"
4242
},

src/GridFS/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
},
88
"require": {
99
"php": "^8.0.2",
10-
"ext-mongodb": "^1.3",
10+
"ext-mongodb": "^1.3|^2",
1111
"league/flysystem": "^3.10.0",
12-
"mongodb/mongodb": "^1.2"
12+
"mongodb/mongodb": "^1.2|^2"
1313
},
1414
"license": "MIT",
1515
"authors": [

0 commit comments

Comments
 (0)