deleted require paths, update grpc to v1.39.0 (#26841)

pull/26929/head
Hannah Shi 3 years ago committed by GitHub
parent cee1bf8532
commit 62b65c5a60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      examples/php/composer.json
  2. 6
      examples/php/greeter_and_routeguide_multi_server.php
  3. 6
      examples/php/greeter_server.php
  4. 6
      examples/php/route_guide/route_guide_server.php
  5. 6
      src/php/tests/generated_code/math_server.php
  6. 2
      src/php/tests/generated_code/package.json

@ -2,7 +2,7 @@
"name": "grpc/grpc-demo",
"description": "gRPC example for PHP",
"require": {
"grpc/grpc": "^v1.30.0",
"grpc/grpc": "^v1.39.0",
"google/protobuf": "^v3.12.2"
},
"autoload": {

@ -17,12 +17,6 @@
*
*/
require dirname(__FILE__) . '/../../src/php/lib/Grpc/MethodDescriptor.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/Status.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerCallReader.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerCallWriter.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerContext.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/RpcServer.php';
require dirname(__FILE__) . '/vendor/autoload.php';
require dirname(__FILE__) . '/route_guide/RouteGuideService.php';

@ -17,12 +17,6 @@
*
*/
require dirname(__FILE__) . '/../../src/php/lib/Grpc/MethodDescriptor.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/Status.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerCallReader.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerCallWriter.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/ServerContext.php';
require dirname(__FILE__) . '/../../src/php/lib/Grpc/RpcServer.php';
require dirname(__FILE__) . '/vendor/autoload.php';
class Greeter extends Helloworld\GreeterStub

@ -17,12 +17,6 @@
*
*/
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/MethodDescriptor.php';
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/Status.php';
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/ServerCallReader.php';
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/ServerCallWriter.php';
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/ServerContext.php';
require dirname(__FILE__) . '/../../../src/php/lib/Grpc/RpcServer.php';
require dirname(__FILE__) . '/../vendor/autoload.php';
require dirname(__FILE__) . '/RouteGuideService.php';

@ -17,12 +17,6 @@
*
*/
require dirname(__FILE__) . '/../../lib/Grpc/MethodDescriptor.php';
require dirname(__FILE__) . '/../../lib/Grpc/Status.php';
require dirname(__FILE__) . '/../../lib/Grpc/ServerCallReader.php';
require dirname(__FILE__) . '/../../lib/Grpc/ServerCallWriter.php';
require dirname(__FILE__) . '/../../lib/Grpc/ServerContext.php';
require dirname(__FILE__) . '/../../lib/Grpc/RpcServer.php';
include 'vendor/autoload.php';
class MathService extends Math\MathStub

@ -3,6 +3,6 @@
"version": "0.1.0",
"dependencies": {
"@grpc/proto-loader": "^0.1.0",
"grpc": "^1.11.0"
"grpc": "^1.39.0"
}
}

Loading…
Cancel
Save