Skip to content
This repository was archived by the owner on Jan 12, 2021. It is now read-only.

Commit afe809b

Browse files
committed
Version 0.11.0
1 parent 22b0ff5 commit afe809b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

php_protobuf.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#define PROTOBUF_PHP_PHP_PROTOBUF_H
33

44
#ifdef HAVE_CONFIG_H
5-
# include "config.h"
5+
#include "config.h"
66
#endif
77

8-
#define PHP_PROTOBUF_VERSION "0.9"
8+
#define PHP_PROTOBUF_VERSION "0.11.0"
99
#define PHP_PROTOBUF_EXTNAME "protobuf"
1010

1111
extern zend_module_entry protobuf_module_entry;

src/Allegro/Protobuf/Compiler/Compiler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
class Compiler
77
{
88
const MINIMUM_PROTOC_VERSION = '2.6.0';
9+
const VERSION = '0.11.0';
910

1011
/**
1112
* @param string $pluginExecutable
@@ -66,7 +67,7 @@ private function hasStdin()
6667
*/
6768
private function parseArguments()
6869
{
69-
$parser = new \Console_CommandLine();
70+
$parser = new \Console_CommandLine(array('version' => self::VERSION));
7071

7172
$parser->addOption('out', array(
7273
'short_name' => '-o',

0 commit comments

Comments
 (0)