diff --git a/examples/php/composer.json b/examples/php/composer.json index 1d44bba0a6a..b16bab40de4 100644 --- a/examples/php/composer.json +++ b/examples/php/composer.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": { diff --git a/examples/php/greeter_and_routeguide_multi_server.php b/examples/php/greeter_and_routeguide_multi_server.php index 1bdc1d7e2f8..601e048d4f5 100644 --- a/examples/php/greeter_and_routeguide_multi_server.php +++ b/examples/php/greeter_and_routeguide_multi_server.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'; require dirname(__FILE__) . '/route_guide/RouteGuideService.php'; diff --git a/examples/php/greeter_server.php b/examples/php/greeter_server.php index a5d749bee96..684d6c63943 100644 --- a/examples/php/greeter_server.php +++ b/examples/php/greeter_server.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 diff --git a/examples/php/route_guide/route_guide_server.php b/examples/php/route_guide/route_guide_server.php index 29b086f182d..0625a9b1385 100644 --- a/examples/php/route_guide/route_guide_server.php +++ b/examples/php/route_guide/route_guide_server.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'; require dirname(__FILE__) . '/RouteGuideService.php'; diff --git a/src/php/tests/generated_code/math_server.php b/src/php/tests/generated_code/math_server.php index 09beb8897d4..d91a5a57b4d 100644 --- a/src/php/tests/generated_code/math_server.php +++ b/src/php/tests/generated_code/math_server.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 diff --git a/src/php/tests/generated_code/package.json b/src/php/tests/generated_code/package.json index 5cc28be35d2..c3db4423049 100644 --- a/src/php/tests/generated_code/package.json +++ b/src/php/tests/generated_code/package.json @@ -3,6 +3,6 @@ "version": "0.1.0", "dependencies": { "@grpc/proto-loader": "^0.1.0", - "grpc": "^1.11.0" + "grpc": "^1.39.0" } }