From 6481d04ae650ea7b4c703b4e7d75a2393fa44dbd Mon Sep 17 00:00:00 2001 From: Stanley Cheung Date: Tue, 31 Jan 2017 13:03:48 -0800 Subject: [PATCH] Add comments --- src/php/tests/generated_code/AbstractGeneratedCodeTest.php | 3 +++ src/php/tests/interop/interop_client.php | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php index 29dbe1975cf..c50b1c6943e 100644 --- a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php +++ b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php @@ -32,6 +32,9 @@ * */ require_once realpath(dirname(__FILE__).'/../../vendor/autoload.php'); + +// The following includes are needed when using protobuf 3.1.0 +// and will suppress warnings when using protobuf 3.2.0+ @include_once dirname(__FILE__).'/math.pb.php'; @include_once dirname(__FILE__).'/math_grpc_pb.php'; diff --git a/src/php/tests/interop/interop_client.php b/src/php/tests/interop/interop_client.php index e9b4e5ffabb..cf93ac39e08 100755 --- a/src/php/tests/interop/interop_client.php +++ b/src/php/tests/interop/interop_client.php @@ -32,8 +32,12 @@ * */ require_once realpath(dirname(__FILE__).'/../../vendor/autoload.php'); + +// The following includes are needed when using protobuf 3.1.0 +// and will suppress warnings when using protobuf 3.2.0+ @include_once 'src/proto/grpc/testing/test.pb.php'; @include_once 'src/proto/grpc/testing/test_grpc_pb.php'; + use Google\Auth\CredentialsLoader; use Google\Auth\ApplicationDefaultCredentials; use GuzzleHttp\ClientInterface;