From afe809b2005ebd5b30b44b0fa6e62c9b588081a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Jagodzi=C5=84ski?= Date: Mon, 18 Jul 2016 14:34:32 +0200 Subject: [PATCH] Version 0.11.0 --- php_protobuf.h | 4 ++-- src/Allegro/Protobuf/Compiler/Compiler.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/php_protobuf.h b/php_protobuf.h index e3bb6de..9c2ac40 100755 --- a/php_protobuf.h +++ b/php_protobuf.h @@ -2,10 +2,10 @@ #define PROTOBUF_PHP_PHP_PROTOBUF_H #ifdef HAVE_CONFIG_H -# include "config.h" +#include "config.h" #endif -#define PHP_PROTOBUF_VERSION "0.9" +#define PHP_PROTOBUF_VERSION "0.11.0" #define PHP_PROTOBUF_EXTNAME "protobuf" extern zend_module_entry protobuf_module_entry; diff --git a/src/Allegro/Protobuf/Compiler/Compiler.php b/src/Allegro/Protobuf/Compiler/Compiler.php index c2b9f5f..4cde88b 100644 --- a/src/Allegro/Protobuf/Compiler/Compiler.php +++ b/src/Allegro/Protobuf/Compiler/Compiler.php @@ -6,6 +6,7 @@ class Compiler { const MINIMUM_PROTOC_VERSION = '2.6.0'; + const VERSION = '0.11.0'; /** * @param string $pluginExecutable @@ -66,7 +67,7 @@ private function hasStdin() */ private function parseArguments() { - $parser = new \Console_CommandLine(); + $parser = new \Console_CommandLine(array('version' => self::VERSION)); $parser->addOption('out', array( 'short_name' => '-o',