From 42d0c53f5bc261bb7d38f0a07efc8ae2a59fab60 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Tue, 10 Nov 2020 15:34:28 -0800 Subject: [PATCH] Fixed PHP version and release notes This commit updates protobuf.c to refer to the PHP version macro so that it stays up to date. I also deleted the notes element near the top of package.xml. This seems to be a global notes field rather than a per-release field, so it was showing up on new releases where it doesn't make sense. Fixes #8017. --- php/ext/google/protobuf/package.xml | 1 - php/ext/google/protobuf/protobuf.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/php/ext/google/protobuf/package.xml b/php/ext/google/protobuf/package.xml index c36e755415..ed833cd47e 100644 --- a/php/ext/google/protobuf/package.xml +++ b/php/ext/google/protobuf/package.xml @@ -21,7 +21,6 @@ beta 3-Clause BSD License - GA release. diff --git a/php/ext/google/protobuf/protobuf.c b/php/ext/google/protobuf/protobuf.c index 05095a0f36..761eeeb532 100644 --- a/php/ext/google/protobuf/protobuf.c +++ b/php/ext/google/protobuf/protobuf.c @@ -311,7 +311,7 @@ zend_module_entry protobuf_module_entry = { PHP_RINIT(protobuf), // request shutdown PHP_RSHUTDOWN(protobuf), // request shutdown NULL, // extension info - "3.13.0", // extension version + PHP_PROTOBUF_VERSION, // extension version PHP_MODULE_GLOBALS(protobuf), // globals descriptor PHP_GINIT(protobuf), // globals ctor PHP_GSHUTDOWN(protobuf), // globals dtor