From f7183eae5c39b19b8ca5eb248cfa9ca37a2664ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Tamarelle?= Date: Mon, 4 Nov 2024 09:31:44 +0100 Subject: [PATCH] [GridFS] Allow installation with mongodb lib v2 --- composer.json | 4 ++-- src/GridFS/composer.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 81a39c4ed..700b0ffdf 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-zip": "*", "ext-fileinfo": "*", "ext-ftp": "*", - "ext-mongodb": "^1.3", + "ext-mongodb": "^1.3|^2", "microsoft/azure-storage-blob": "^1.1", "phpunit/phpunit": "^9.5.11|^10.0", "phpstan/phpstan": "^1.10", @@ -36,7 +36,7 @@ "google/cloud-storage": "^1.23", "async-aws/s3": "^1.5 || ^2.0", "async-aws/simple-s3": "^1.1 || ^2.0", - "mongodb/mongodb": "^1.2", + "mongodb/mongodb": "^1.2|^2", "sabre/dav": "^4.6.0", "guzzlehttp/psr7": "^2.6" }, diff --git a/src/GridFS/composer.json b/src/GridFS/composer.json index f07098866..f7e66f558 100644 --- a/src/GridFS/composer.json +++ b/src/GridFS/composer.json @@ -7,9 +7,9 @@ }, "require": { "php": "^8.0.2", - "ext-mongodb": "^1.3", + "ext-mongodb": "^1.3|^2", "league/flysystem": "^3.10.0", - "mongodb/mongodb": "^1.2" + "mongodb/mongodb": "^1.2|^2" }, "license": "MIT", "authors": [