From 29ca14ca50f85b022024304bcdffcd891e3ecdef Mon Sep 17 00:00:00 2001 From: kafkiansky Date: Sun, 27 Sep 2026 17:07:59 +0300 Subject: [PATCH] Move to protoc-plugin/0.6.0 --- Makefile | 2 +- composer.json | 10 +++++----- packages/client/composer.json | 2 +- .../client/src/Client/Internal/AmphpHttpClient.php | 2 +- .../Client/Internal/Http2/ConcurrentClientStream.php | 2 +- .../client/src/Client/Internal/Http2/ErrorHandler.php | 2 +- packages/grpc/composer.json | 4 ++-- packages/grpc/src/InvokeError.php | 2 +- packages/grpc/src/Metadata/Status.php | 2 +- packages/grpc/src/Status/Context.php | 4 ++-- packages/server/composer.json | 2 +- .../src/Server/Internal/Http2/ServerRequestHandler.php | 2 +- .../src/Server/Internal/StreamHandleInterceptor.php | 2 +- tests/ServerStreamTest.php | 4 ++-- tests/Status/ContextTest.php | 2 +- tests/Stub/AuthorizationServerInterceptor.php | 2 +- tests/UnaryTest.php | 4 ++-- tests/genproto/Chat/Api/V1/DescriptorRegistry.php | 2 +- tests/genproto/Chat/Api/V1/Message.php | 2 +- tests/genproto/Chat/Api/V1/MessengerServiceClient.php | 2 +- tests/genproto/Chat/Api/V1/MessengerServiceServer.php | 2 +- .../Chat/Api/V1/MessengerServiceServerRegistry.php | 2 +- tests/genproto/Chat/Api/V1/autoload.metadata.php | 2 +- tests/genproto/Echos/Api/V1/DescriptorRegistry.php | 2 +- tests/genproto/Echos/Api/V1/EchoRequest.php | 2 +- tests/genproto/Echos/Api/V1/EchoResponse.php | 2 +- tests/genproto/Echos/Api/V1/EchoServiceClient.php | 2 +- tests/genproto/Echos/Api/V1/EchoServiceServer.php | 2 +- .../Echos/Api/V1/EchoServiceServerRegistry.php | 2 +- tests/genproto/Echos/Api/V1/autoload.metadata.php | 2 +- tests/genproto/File/Api/V1/Chunk.php | 2 +- tests/genproto/File/Api/V1/DescriptorRegistry.php | 2 +- tests/genproto/File/Api/V1/FileInfo.php | 2 +- tests/genproto/File/Api/V1/FileServiceClient.php | 2 +- tests/genproto/File/Api/V1/FileServiceServer.php | 2 +- .../genproto/File/Api/V1/FileServiceServerRegistry.php | 2 +- tests/genproto/File/Api/V1/autoload.metadata.php | 2 +- tests/genproto/Topic/Api/V1/DescriptorRegistry.php | 2 +- tests/genproto/Topic/Api/V1/Event.php | 6 +++--- tests/genproto/Topic/Api/V1/SubscribeRequest.php | 2 +- tests/genproto/Topic/Api/V1/TopicServiceClient.php | 2 +- tests/genproto/Topic/Api/V1/TopicServiceServer.php | 2 +- .../Topic/Api/V1/TopicServiceServerRegistry.php | 2 +- tests/genproto/Topic/Api/V1/autoload.metadata.php | 2 +- 44 files changed, 54 insertions(+), 54 deletions(-) diff --git a/Makefile b/Makefile index 488aee1..90a318a 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ COMPOSER ?= $(RUN) composer t: terminal terminal: var ## Start a terminal inside the php container @$(if $(INSIDE_CONTAINER),echo 'Already inside docker container.'; exit 1,) - $(DOCKER_COMPOSE) run --rm $(ARGS) php bash + $(DOCKER_COMPOSE) run --rm $(ARGS) php sh .PHONY: t terminal run: ## Run a command using the php container: `make run CMD='php --version'` diff --git a/composer.json b/composer.json index c14f6b0..f3ac880 100644 --- a/composer.json +++ b/composer.json @@ -34,10 +34,10 @@ "psr/log": "^3.0", "revolt/event-loop": "^1.0.8", "thesis/endian": "^0.3.3", - "thesis/googleapis-rpc-types": "^0.2", + "thesis/googleapis-rpc-types": "^0.3", "thesis/package-version": "^0.1.2", "thesis/protobuf": "^0.2", - "thesis/protobuf-known-types": "^0.2" + "thesis/protobuf-known-types": "^0.3.1" }, "require-dev": { "ext-bcmath": "*", @@ -55,9 +55,9 @@ "options": { "symlink": true, "versions": { - "thesis/grpc-client": "0.2.x-dev", - "thesis/grpc-protocol": "0.2.x-dev", - "thesis/grpc-server": "0.2.x-dev" + "thesis/grpc-client": "0.3.x-dev", + "thesis/grpc-protocol": "0.3.x-dev", + "thesis/grpc-server": "0.3.x-dev" } } } diff --git a/packages/client/composer.json b/packages/client/composer.json index 7fa4862..41f07f8 100644 --- a/packages/client/composer.json +++ b/packages/client/composer.json @@ -24,7 +24,7 @@ "amphp/http-client": "^5.3", "amphp/socket": "^2.3", "league/uri": "^7.8", - "thesis/grpc-protocol": "^0.2" + "thesis/grpc-protocol": "^0.3" }, "autoload": { "psr-4": { diff --git a/packages/client/src/Client/Internal/AmphpHttpClient.php b/packages/client/src/Client/Internal/AmphpHttpClient.php index c4d6025..751bf5c 100644 --- a/packages/client/src/Client/Internal/AmphpHttpClient.php +++ b/packages/client/src/Client/Internal/AmphpHttpClient.php @@ -6,7 +6,7 @@ use Amp\Cancellation; use Amp\NullCancellation; -use Google\Rpc\Code; +use Thesis\Google\Rpc\Code; use Thesis\Grpc\Client; use Thesis\Grpc\Client\PickContext; use Thesis\Grpc\ClientStream; diff --git a/packages/client/src/Client/Internal/Http2/ConcurrentClientStream.php b/packages/client/src/Client/Internal/Http2/ConcurrentClientStream.php index 7b0b69e..1c30643 100644 --- a/packages/client/src/Client/Internal/Http2/ConcurrentClientStream.php +++ b/packages/client/src/Client/Internal/Http2/ConcurrentClientStream.php @@ -9,7 +9,7 @@ use Amp\Http\Client\Response; use Amp\NullCancellation; use Amp\Pipeline; -use Google\Rpc\Code; +use Thesis\Google\Rpc\Code; use Thesis\Grpc\ClientStream; use Thesis\Grpc\Exception\ClientStreamIsClosed; use Thesis\Grpc\InvokeError; diff --git a/packages/client/src/Client/Internal/Http2/ErrorHandler.php b/packages/client/src/Client/Internal/Http2/ErrorHandler.php index 1768688..202d5f7 100644 --- a/packages/client/src/Client/Internal/Http2/ErrorHandler.php +++ b/packages/client/src/Client/Internal/Http2/ErrorHandler.php @@ -4,7 +4,7 @@ namespace Thesis\Grpc\Client\Internal\Http2; -use Google\Rpc; +use Thesis\Google\Rpc; use Thesis\Grpc\ClientStream; use Thesis\Grpc\InvokeError; use Thesis\Grpc\Status; diff --git a/packages/grpc/composer.json b/packages/grpc/composer.json index 46ba9ab..3907e5d 100644 --- a/packages/grpc/composer.json +++ b/packages/grpc/composer.json @@ -25,10 +25,10 @@ "amphp/pipeline": "^1.2", "revolt/event-loop": "^1.0.8", "thesis/endian": "^0.3.3", - "thesis/googleapis-rpc-types": "^0.2", + "thesis/googleapis-rpc-types": "^0.3", "thesis/package-version": "^0.1.2", "thesis/protobuf": "^0.2", - "thesis/protobuf-known-types": "^0.2" + "thesis/protobuf-known-types": "^0.3.1" }, "autoload": { "psr-4": { diff --git a/packages/grpc/src/InvokeError.php b/packages/grpc/src/InvokeError.php index 67ac669..17e4ffe 100644 --- a/packages/grpc/src/InvokeError.php +++ b/packages/grpc/src/InvokeError.php @@ -4,7 +4,7 @@ namespace Thesis\Grpc; -use Google\Rpc\Code; +use Thesis\Google\Rpc\Code; /** * @api diff --git a/packages/grpc/src/Metadata/Status.php b/packages/grpc/src/Metadata/Status.php index ee0bb55..f3cc260 100644 --- a/packages/grpc/src/Metadata/Status.php +++ b/packages/grpc/src/Metadata/Status.php @@ -4,7 +4,7 @@ namespace Thesis\Grpc\Metadata; -use Google\Rpc; +use Thesis\Google\Rpc; use Thesis\Grpc\Metadata; /** diff --git a/packages/grpc/src/Status/Context.php b/packages/grpc/src/Status/Context.php index 48de537..69f3089 100644 --- a/packages/grpc/src/Status/Context.php +++ b/packages/grpc/src/Status/Context.php @@ -4,8 +4,8 @@ namespace Thesis\Grpc\Status; -use Google\Protobuf; -use Google\Rpc; +use Thesis\Google\Protobuf; +use Thesis\Google\Rpc; use Thesis\Grpc\Metadata; use Thesis\Protobuf\Decoder; use Thesis\Protobuf\Encoder; diff --git a/packages/server/composer.json b/packages/server/composer.json index a314145..98b0264 100644 --- a/packages/server/composer.json +++ b/packages/server/composer.json @@ -24,7 +24,7 @@ "amphp/socket": "^2.3", "amphp/sync": "^2.3", "psr/log": "^3.0", - "thesis/grpc-protocol": "^0.2" + "thesis/grpc-protocol": "^0.3" }, "autoload": { "psr-4": { diff --git a/packages/server/src/Server/Internal/Http2/ServerRequestHandler.php b/packages/server/src/Server/Internal/Http2/ServerRequestHandler.php index dc3a4bb..7e3500e 100644 --- a/packages/server/src/Server/Internal/Http2/ServerRequestHandler.php +++ b/packages/server/src/Server/Internal/Http2/ServerRequestHandler.php @@ -14,7 +14,7 @@ use Amp\Http\Server\Response; use Amp\Http\Server\Trailers; use Amp\TimeoutCancellation; -use Google\Rpc; +use Thesis\Google\Rpc; use Thesis\Grpc\Metadata; use Thesis\Grpc\Server\Internal\StreamHandleInterceptor; use Thesis\Grpc\Server\Internal\StreamInterceptorComposer; diff --git a/packages/server/src/Server/Internal/StreamHandleInterceptor.php b/packages/server/src/Server/Internal/StreamHandleInterceptor.php index b24e15b..0ea40ca 100644 --- a/packages/server/src/Server/Internal/StreamHandleInterceptor.php +++ b/packages/server/src/Server/Internal/StreamHandleInterceptor.php @@ -6,7 +6,7 @@ use Amp\Cancellation; use Amp\CancelledException; -use Google\Rpc; +use Thesis\Google\Rpc; use Thesis\Grpc\InvokeError; use Thesis\Grpc\Metadata; use Thesis\Grpc\Server\StreamInfo; diff --git a/tests/ServerStreamTest.php b/tests/ServerStreamTest.php index bdc7b4e..c9b436b 100644 --- a/tests/ServerStreamTest.php +++ b/tests/ServerStreamTest.php @@ -5,10 +5,10 @@ namespace Thesis\Grpc; use Amp\Cancellation; -use Google\Protobuf\Timestamp; -use Google\Rpc\Code; use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use Thesis\Google\Protobuf\Timestamp; +use Thesis\Google\Rpc\Code; use Thesis\Grpc\Client\Internal\AmphpHttpClient; use Thesis\Grpc\Server\Internal\AmphpHttpServer; use Thesis\Grpc\Server\ServerStreamHandler; diff --git a/tests/Status/ContextTest.php b/tests/Status/ContextTest.php index 9b9f350..2d094c7 100644 --- a/tests/Status/ContextTest.php +++ b/tests/Status/ContextTest.php @@ -4,11 +4,11 @@ namespace Thesis\Grpc\Status; -use Google\Rpc; use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\Attributes\CoversFunction; use PHPUnit\Framework\Attributes\TestWith; use PHPUnit\Framework\TestCase; +use Thesis\Google\Rpc; use Thesis\Grpc\Metadata; use Thesis\Protobuf\Decoder; use Thesis\Protobuf\Encoder; diff --git a/tests/Stub/AuthorizationServerInterceptor.php b/tests/Stub/AuthorizationServerInterceptor.php index 2a4cf15..f0af857 100644 --- a/tests/Stub/AuthorizationServerInterceptor.php +++ b/tests/Stub/AuthorizationServerInterceptor.php @@ -5,7 +5,7 @@ namespace Thesis\Grpc\Stub; use Amp\Cancellation; -use Google\Rpc\Code; +use Thesis\Google\Rpc\Code; use Thesis\Grpc\InvokeError; use Thesis\Grpc\Metadata; use Thesis\Grpc\Server\StreamInfo; diff --git a/tests/UnaryTest.php b/tests/UnaryTest.php index cf82e4b..5b3dafc 100644 --- a/tests/UnaryTest.php +++ b/tests/UnaryTest.php @@ -10,10 +10,10 @@ use Echos\Api\V1\EchoServiceClient; use Echos\Api\V1\EchoServiceServer; use Echos\Api\V1\EchoServiceServerRegistry; -use Google\Rpc\BadRequest; -use Google\Rpc\Code; use PHPUnit\Framework\Attributes\CoversClass; use PHPUnit\Framework\TestCase; +use Thesis\Google\Rpc\BadRequest; +use Thesis\Google\Rpc\Code; use Thesis\Grpc\Client\Internal\AmphpHttpClient; use Thesis\Grpc\Client\Invoke; use Thesis\Grpc\Server\Internal\AmphpHttpServer; diff --git a/tests/genproto/Chat/Api/V1/DescriptorRegistry.php b/tests/genproto/Chat/Api/V1/DescriptorRegistry.php index 8db9e50..71a9b76 100644 --- a/tests/genproto/Chat/Api/V1/DescriptorRegistry.php +++ b/tests/genproto/Chat/Api/V1/DescriptorRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/chat_v1.proto */ diff --git a/tests/genproto/Chat/Api/V1/Message.php b/tests/genproto/Chat/Api/V1/Message.php index a2e7c17..6cec117 100644 --- a/tests/genproto/Chat/Api/V1/Message.php +++ b/tests/genproto/Chat/Api/V1/Message.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/chat_v1.proto */ diff --git a/tests/genproto/Chat/Api/V1/MessengerServiceClient.php b/tests/genproto/Chat/Api/V1/MessengerServiceClient.php index ccc3cd5..c931e97 100644 --- a/tests/genproto/Chat/Api/V1/MessengerServiceClient.php +++ b/tests/genproto/Chat/Api/V1/MessengerServiceClient.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/chat_v1.proto */ diff --git a/tests/genproto/Chat/Api/V1/MessengerServiceServer.php b/tests/genproto/Chat/Api/V1/MessengerServiceServer.php index c0e5f40..a8f9808 100644 --- a/tests/genproto/Chat/Api/V1/MessengerServiceServer.php +++ b/tests/genproto/Chat/Api/V1/MessengerServiceServer.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/chat_v1.proto */ diff --git a/tests/genproto/Chat/Api/V1/MessengerServiceServerRegistry.php b/tests/genproto/Chat/Api/V1/MessengerServiceServerRegistry.php index 93784d1..99f94ab 100644 --- a/tests/genproto/Chat/Api/V1/MessengerServiceServerRegistry.php +++ b/tests/genproto/Chat/Api/V1/MessengerServiceServerRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/chat_v1.proto */ diff --git a/tests/genproto/Chat/Api/V1/autoload.metadata.php b/tests/genproto/Chat/Api/V1/autoload.metadata.php index bd63e1b..d60641c 100644 --- a/tests/genproto/Chat/Api/V1/autoload.metadata.php +++ b/tests/genproto/Chat/Api/V1/autoload.metadata.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 */ diff --git a/tests/genproto/Echos/Api/V1/DescriptorRegistry.php b/tests/genproto/Echos/Api/V1/DescriptorRegistry.php index 323705b..06eb4b1 100644 --- a/tests/genproto/Echos/Api/V1/DescriptorRegistry.php +++ b/tests/genproto/Echos/Api/V1/DescriptorRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/EchoRequest.php b/tests/genproto/Echos/Api/V1/EchoRequest.php index badacdd..7b749c7 100644 --- a/tests/genproto/Echos/Api/V1/EchoRequest.php +++ b/tests/genproto/Echos/Api/V1/EchoRequest.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/EchoResponse.php b/tests/genproto/Echos/Api/V1/EchoResponse.php index b958ba9..580262c 100644 --- a/tests/genproto/Echos/Api/V1/EchoResponse.php +++ b/tests/genproto/Echos/Api/V1/EchoResponse.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/EchoServiceClient.php b/tests/genproto/Echos/Api/V1/EchoServiceClient.php index fe58010..12bdcc7 100644 --- a/tests/genproto/Echos/Api/V1/EchoServiceClient.php +++ b/tests/genproto/Echos/Api/V1/EchoServiceClient.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/EchoServiceServer.php b/tests/genproto/Echos/Api/V1/EchoServiceServer.php index c483406..ee67c85 100644 --- a/tests/genproto/Echos/Api/V1/EchoServiceServer.php +++ b/tests/genproto/Echos/Api/V1/EchoServiceServer.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/EchoServiceServerRegistry.php b/tests/genproto/Echos/Api/V1/EchoServiceServerRegistry.php index 48ee41f..b0dfccf 100644 --- a/tests/genproto/Echos/Api/V1/EchoServiceServerRegistry.php +++ b/tests/genproto/Echos/Api/V1/EchoServiceServerRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/echo_v1.proto */ diff --git a/tests/genproto/Echos/Api/V1/autoload.metadata.php b/tests/genproto/Echos/Api/V1/autoload.metadata.php index 2559de6..519855d 100644 --- a/tests/genproto/Echos/Api/V1/autoload.metadata.php +++ b/tests/genproto/Echos/Api/V1/autoload.metadata.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 */ diff --git a/tests/genproto/File/Api/V1/Chunk.php b/tests/genproto/File/Api/V1/Chunk.php index 57338da..9574ecb 100644 --- a/tests/genproto/File/Api/V1/Chunk.php +++ b/tests/genproto/File/Api/V1/Chunk.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/DescriptorRegistry.php b/tests/genproto/File/Api/V1/DescriptorRegistry.php index fcedd30..b38393d 100644 --- a/tests/genproto/File/Api/V1/DescriptorRegistry.php +++ b/tests/genproto/File/Api/V1/DescriptorRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/FileInfo.php b/tests/genproto/File/Api/V1/FileInfo.php index 5df611e..adbb7c7 100644 --- a/tests/genproto/File/Api/V1/FileInfo.php +++ b/tests/genproto/File/Api/V1/FileInfo.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/FileServiceClient.php b/tests/genproto/File/Api/V1/FileServiceClient.php index 9251e3f..abc2eab 100644 --- a/tests/genproto/File/Api/V1/FileServiceClient.php +++ b/tests/genproto/File/Api/V1/FileServiceClient.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/FileServiceServer.php b/tests/genproto/File/Api/V1/FileServiceServer.php index ddb0e70..af0494e 100644 --- a/tests/genproto/File/Api/V1/FileServiceServer.php +++ b/tests/genproto/File/Api/V1/FileServiceServer.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/FileServiceServerRegistry.php b/tests/genproto/File/Api/V1/FileServiceServerRegistry.php index b6193fa..9425600 100644 --- a/tests/genproto/File/Api/V1/FileServiceServerRegistry.php +++ b/tests/genproto/File/Api/V1/FileServiceServerRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/file_v1.proto */ diff --git a/tests/genproto/File/Api/V1/autoload.metadata.php b/tests/genproto/File/Api/V1/autoload.metadata.php index 9358f11..0429d16 100644 --- a/tests/genproto/File/Api/V1/autoload.metadata.php +++ b/tests/genproto/File/Api/V1/autoload.metadata.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 */ diff --git a/tests/genproto/Topic/Api/V1/DescriptorRegistry.php b/tests/genproto/Topic/Api/V1/DescriptorRegistry.php index e02a6d9..1b7317a 100644 --- a/tests/genproto/Topic/Api/V1/DescriptorRegistry.php +++ b/tests/genproto/Topic/Api/V1/DescriptorRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ diff --git a/tests/genproto/Topic/Api/V1/Event.php b/tests/genproto/Topic/Api/V1/Event.php index 5ee3709..143e5f4 100644 --- a/tests/genproto/Topic/Api/V1/Event.php +++ b/tests/genproto/Topic/Api/V1/Event.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ @@ -24,7 +24,7 @@ public function __construct( public string $type = '', #[Reflection\Field(2, Reflection\StringT::T)] public string $payload = '', - #[Reflection\Field(3, new Reflection\ObjectT(\Google\Protobuf\Timestamp::class))] - public ?\Google\Protobuf\Timestamp $ts = null, + #[Reflection\Field(3, new Reflection\ObjectT(\Thesis\Google\Protobuf\Timestamp::class))] + public ?\Thesis\Google\Protobuf\Timestamp $ts = null, ) {} } diff --git a/tests/genproto/Topic/Api/V1/SubscribeRequest.php b/tests/genproto/Topic/Api/V1/SubscribeRequest.php index 006b945..7e52c41 100644 --- a/tests/genproto/Topic/Api/V1/SubscribeRequest.php +++ b/tests/genproto/Topic/Api/V1/SubscribeRequest.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ diff --git a/tests/genproto/Topic/Api/V1/TopicServiceClient.php b/tests/genproto/Topic/Api/V1/TopicServiceClient.php index 90f6e66..99474ba 100644 --- a/tests/genproto/Topic/Api/V1/TopicServiceClient.php +++ b/tests/genproto/Topic/Api/V1/TopicServiceClient.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ diff --git a/tests/genproto/Topic/Api/V1/TopicServiceServer.php b/tests/genproto/Topic/Api/V1/TopicServiceServer.php index 3887f69..8555b42 100644 --- a/tests/genproto/Topic/Api/V1/TopicServiceServer.php +++ b/tests/genproto/Topic/Api/V1/TopicServiceServer.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ diff --git a/tests/genproto/Topic/Api/V1/TopicServiceServerRegistry.php b/tests/genproto/Topic/Api/V1/TopicServiceServerRegistry.php index aa67d2a..6f333c1 100644 --- a/tests/genproto/Topic/Api/V1/TopicServiceServerRegistry.php +++ b/tests/genproto/Topic/Api/V1/TopicServiceServerRegistry.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 * Source: tests/protos/topic_v1.proto */ diff --git a/tests/genproto/Topic/Api/V1/autoload.metadata.php b/tests/genproto/Topic/Api/V1/autoload.metadata.php index c0ac285..bd00f3c 100644 --- a/tests/genproto/Topic/Api/V1/autoload.metadata.php +++ b/tests/genproto/Topic/Api/V1/autoload.metadata.php @@ -3,7 +3,7 @@ /** * Code generated by thesis/protoc-plugin. DO NOT EDIT. * Versions: - * thesis/protoc-plugin — v0.5.1 + * thesis/protoc-plugin — v0.6.1 * protoc — v6.33.5 */