From 8dffb6b398ad322936e1f9105e218a4d2a67f5af Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Fri, 5 Apr 2024 11:43:17 -0600 Subject: [PATCH] chore: add compatibility for Protobuf v4 (#7201) --- CommonProtos/composer.json | 2 +- ShoppingCommonProtos/composer.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CommonProtos/composer.json b/CommonProtos/composer.json index a5c017838f81..d48a4fcff862 100644 --- a/CommonProtos/composer.json +++ b/CommonProtos/composer.json @@ -6,7 +6,7 @@ "homepage": "https://github.com/googleapis/google-cloud-php-common-protos", "license": "Apache-2.0", "require": { - "google/protobuf": "^3.7.1", + "google/protobuf": "^v3.25.3||^4.26.1", "google/common-protos": "^3.0||^4.0" }, "require-dev": { diff --git a/ShoppingCommonProtos/composer.json b/ShoppingCommonProtos/composer.json index 70a4972233fd..e44a871cd031 100644 --- a/ShoppingCommonProtos/composer.json +++ b/ShoppingCommonProtos/composer.json @@ -18,7 +18,7 @@ }, "require": { "php": "^8.0", - "google/protobuf": "^3.7.1" + "google/protobuf": "^v3.25.3||^4.26.1" }, "require-dev": { "phpunit/phpunit": "^9.0"