diff options
author | Stanley Cheung <stanleycheung@google.com> | 2017-01-31 13:03:48 -0800 |
---|---|---|
committer | Stanley Cheung <stanleycheung@google.com> | 2017-01-31 13:03:48 -0800 |
commit | 6481d04ae650ea7b4c703b4e7d75a2393fa44dbd (patch) | |
tree | 4c307aaa983391f67926093475334cfbf6b283cd /src | |
parent | 1a3f4a55c26c36f3ccc0bc8001cf2138af8a065e (diff) |
Add comments
Diffstat (limited to 'src')
-rw-r--r-- | src/php/tests/generated_code/AbstractGeneratedCodeTest.php | 3 | ||||
-rwxr-xr-x | src/php/tests/interop/interop_client.php | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/php/tests/generated_code/AbstractGeneratedCodeTest.php b/src/php/tests/generated_code/AbstractGeneratedCodeTest.php index 29dbe1975c..c50b1c6943 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 e9b4e5ffab..cf93ac39e0 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; |