diff --git a/src/php/bin/generate_proto_php.sh b/src/php/bin/generate_proto_php.sh index d7c0a593e4a..3265c29c857 100755 --- a/src/php/bin/generate_proto_php.sh +++ b/src/php/bin/generate_proto_php.sh @@ -29,6 +29,7 @@ $PROTOC --proto_path=src/proto/math \ # replace the Empty message with EmptyMessage # because Empty is a PHP reserved word +# See https://github.com/protocolbuffers/protobuf/issues/2124 output_file=$(mktemp) sed 's/message Empty/message EmptyMessage/g' \ src/proto/grpc/testing/empty.proto > $output_file