From daef873830f4e07655ee01b049ee51758ba6d0f1 Mon Sep 17 00:00:00 2001 From: Martin Lazarov Date: Wed, 23 Apr 2025 19:42:29 +0300 Subject: [PATCH] Fix mongo-ext requirements condition to support both ^1.13 and ^2.0 version --- src/Instrumentation/MongoDB/composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/MongoDB/composer.json b/src/Instrumentation/MongoDB/composer.json index 49bf3b38a..4f8a9d72e 100644 --- a/src/Instrumentation/MongoDB/composer.json +++ b/src/Instrumentation/MongoDB/composer.json @@ -8,7 +8,7 @@ "license": "Apache-2.0", "require": { "php": ">=8.1", - "ext-mongodb": "^1.13 | ^2.0", + "ext-mongodb": "^1.13 || ^2.0", "ext-json": "*", "mongodb/mongodb": "^1.15 || ^2.0", "open-telemetry/api": "^1.0",