summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION503
-rw-r--r--php-pecl-protobuf.spec121
3 files changed, 382 insertions, 244 deletions
diff --git a/PHPINFO b/PHPINFO
index 5327e17..c6d0890 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -1,7 +1,7 @@
protobuf
-Version => 4.27.1
+Version => 4.31.1
Directive => Local Value => Master Value
protobuf.keep_descriptor_pool_after_request => 0 => 0
diff --git a/REFLECTION b/REFLECTION
index 4425692..6afa633 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,4 +1,4 @@
-Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
+Extension [ <persistent> extension #101 protobuf version 4.31.1 ] {
- Dependencies {
Dependency [ date (Optional) ]
@@ -10,7 +10,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- - Classes [56] {
+ - Classes [57] {
Class [ <internal:protobuf> final class Google\Protobuf\Internal\Arena ] {
- Constants [0] {
@@ -29,7 +29,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> <iterateable> final class Google\Protobuf\Internal\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] {
+ Class [ <internal:protobuf> <iterateable> final class Google\Protobuf\RepeatedField implements ArrayAccess, IteratorAggregate, Traversable, Countable ] {
- Constants [0] {
}
@@ -453,7 +453,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
- Properties [0] {
}
- - Methods [9] {
+ - Methods [11] {
Method [ <internal:protobuf> public method getName ] {
- Parameters [0] {
@@ -472,6 +472,18 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
+ Method [ <internal:protobuf> public method isRequired ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method isRepeated ] {
+
+ - Parameters [0] {
+ }
+ }
+
Method [ <internal:protobuf> public method getType ] {
- Parameters [0] {
@@ -787,7 +799,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -977,7 +990,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1205,7 +1219,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1410,7 +1425,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1550,7 +1566,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1713,7 +1730,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -1850,7 +1868,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2000,7 +2019,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2150,7 +2170,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2300,7 +2321,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2440,7 +2462,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2638,7 +2661,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2765,7 +2789,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -2862,6 +2887,183 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
+ Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Timestamp ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:protobuf> static public method initOnce ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [0] {
+ }
+ }
+
+ Class [ <internal:protobuf> final class Google\Protobuf\Timestamp extends Google\Protobuf\Internal\Message ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [20] {
+ Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $data = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method getSeconds ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setSeconds ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method getNanos ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setNanos ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method fromDateTime ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $datetime ]
+ }
+ }
+
+ Method [ <internal:protobuf> public method toDateTime ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method discardUnknownFields ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToString ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromString ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromJsonString ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $data ]
+ Parameter #1 [ <optional> $arg = <default> ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFrom ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $data ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readWrapperValue ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeWrapperValue ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $field ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method hasOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeOneof ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $field ]
+ Parameter #1 [ <required> $value ]
+ }
+ }
+
+ Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method whichOneof ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $field ]
+ }
+ }
+ }
+ }
+
Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Type ] {
- Constants [0] {
@@ -2899,7 +3101,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
- Properties [0] {
}
- - Methods [26] {
+ - Methods [28] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -2985,6 +3187,19 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -3012,7 +3227,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3256,7 +3472,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3420,7 +3637,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
- Properties [0] {
}
- - Methods [24] {
+ - Methods [26] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -3493,6 +3710,19 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
+ Method [ <internal:protobuf> public method getEdition ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:protobuf> public method setEdition ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $value ]
+ }
+ }
+
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -3520,7 +3750,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3673,7 +3904,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3813,7 +4045,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -3880,9 +4113,10 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Class [ <internal:protobuf> class Google\Protobuf\Syntax ] {
- - Constants [2] {
+ - Constants [3] {
Constant [ public int SYNTAX_PROTO2 ] { 0 }
Constant [ public int SYNTAX_PROTO3 ] { 1 }
+ Constant [ public int SYNTAX_EDITIONS ] { 2 }
}
- Static properties [0] {
@@ -3911,7 +4145,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Timestamp ] {
+ Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Wrappers ] {
- Constants [0] {
}
@@ -3934,7 +4168,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Timestamp extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\DoubleValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -3948,7 +4182,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
- Properties [0] {
}
- - Methods [20] {
+ - Methods [16] {
Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
- Parameters [1] {
@@ -3956,45 +4190,19 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Method [ <internal:protobuf> public method getSeconds ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf> public method setSeconds ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf> public method getNanos ] {
+ Method [ <internal:protobuf> public method getValue ] {
- Parameters [0] {
}
}
- Method [ <internal:protobuf> public method setNanos ] {
+ Method [ <internal:protobuf> public method setValue ] {
- Parameters [1] {
Parameter #0 [ <required> $value ]
}
}
- Method [ <internal:protobuf> public method fromDateTime ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $datetime ]
- }
- }
-
- Method [ <internal:protobuf> public method toDateTime ] {
-
- - Parameters [0] {
- }
- }
-
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
- Parameters [0] {
@@ -4022,7 +4230,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4087,30 +4296,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> class GPBMetadata\Google\Protobuf\Wrappers ] {
-
- - Constants [0] {
- }
-
- - Static properties [0] {
- }
-
- - Static methods [1] {
- Method [ <internal:protobuf> static public method initOnce ] {
-
- - Parameters [0] {
- }
- }
- }
-
- - Properties [0] {
- }
-
- - Methods [0] {
- }
- }
-
- Class [ <internal:protobuf> final class Google\Protobuf\DoubleValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\FloatValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4172,7 +4358,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4237,7 +4424,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\FloatValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\Int64Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4299,7 +4486,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4364,7 +4552,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Int64Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\UInt64Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4426,7 +4614,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4491,7 +4680,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\UInt64Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\Int32Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4553,7 +4742,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4618,7 +4808,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\Int32Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\UInt32Value extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4680,7 +4870,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4745,7 +4936,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\UInt32Value extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\BoolValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4807,7 +4998,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4872,7 +5064,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\BoolValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\StringValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -4934,7 +5126,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -4999,7 +5192,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\StringValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> final class Google\Protobuf\BytesValue extends Google\Protobuf\Internal\Message ] {
- Constants [0] {
}
@@ -5061,7 +5254,8 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> $flags = <default> ]
}
}
@@ -5126,9 +5320,11 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
}
}
- Class [ <internal:protobuf> final class Google\Protobuf\BytesValue extends Google\Protobuf\Internal\Message ] {
+ Class [ <internal:protobuf> class Google\Protobuf\PrintOptions ] {
- - Constants [0] {
+ - Constants [2] {
+ Constant [ public int PRESERVE_PROTO_FIELD_NAMES ] { 1 }
+ Constant [ public int ALWAYS_PRINT_ENUMS_AS_INTS ] { 2 }
}
- Static properties [0] {
@@ -5140,116 +5336,7 @@ Extension [ <persistent> extension #86 protobuf version 4.27.1 ] {
- Properties [0] {
}
- - Methods [16] {
- Method [ <internal:protobuf, overwrites Google\Protobuf\Internal\Message, ctor> public method __construct ] {
-
- - Parameters [1] {
- Parameter #0 [ <optional> $data = <default> ]
- }
- }
-
- Method [ <internal:protobuf> public method getValue ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf> public method setValue ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method clear ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method discardUnknownFields ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToString ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromString ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method serializeToJsonString ] {
-
- - Parameters [0] {
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFromJsonString ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $data ]
- Parameter #1 [ <optional> $arg = <default> ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> public method mergeFrom ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $data ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readWrapperValue ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeWrapperValue ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $field ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method hasOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method readOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method writeOneof ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $field ]
- Parameter #1 [ <required> $value ]
- }
- }
-
- Method [ <internal:protobuf, inherits Google\Protobuf\Internal\Message> protected method whichOneof ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $field ]
- }
- }
+ - Methods [0] {
}
}
}
diff --git a/php-pecl-protobuf.spec b/php-pecl-protobuf.spec
index c6b0d27..8207158 100644
--- a/php-pecl-protobuf.spec
+++ b/php-pecl-protobuf.spec
@@ -1,8 +1,8 @@
# remirepo spec file for php-pecl-protobuf
#
-# Copyright (c) 2016-2024 Remi Collet
-# License: CC-BY-SA-4.0
-# http://creativecommons.org/licenses/by-sa/4.0/
+# SPDX-FileCopyrightText: Copyright 2016-2025 Remi Collet
+# SPDX-License-Identifier: CECILL-2.1
+# http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
#
# Please, preserve the changelog entries
#
@@ -12,8 +12,8 @@
%global pecl_name protobuf
%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}}
%global ini_name 40-%{pecl_name}.ini
-%global upstream_version 4.27.1
-#global upstream_prever RC3
+%global upstream_version 4.31.1
+#global upstream_prever RC2
%global sources %{pecl_name}-%{upstream_version}%{?upstream_prever}
%global _configure ../%{sources}/configure
@@ -55,8 +55,7 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
# Don't install/register tests
sed -e 's/role="test"/role="src"/' \
-e '/utf8_range/s/role="doc"/role="src"/' \
- %{?_licensedir: -e '/LICENSE/s/role="doc"/role="src"/' } \
- %{!?_licensedir:-e '/LICENSE/s/role="src"/role="doc"/' } \
+ -e '/LICENSE/s/role="doc"/role="src"/' \
-i package.xml
cd %{sources}
@@ -90,19 +89,22 @@ EOF
cd %{sources}
%{__phpize}
+sed -e 's/INSTALL_ROOT/DESTDIR/' -i build/Makefile.global
cd ../NTS
%configure \
--enable-protobuf \
--with-php-config=%{__phpconfig}
-make %{?_smp_mflags}
+
+%make_build
%if %{with_zts}
cd ../ZTS
%configure \
--enable-protobuf \
--with-php-config=%{__ztsphpconfig}
-make %{?_smp_mflags}
+
+%make_build
%endif
@@ -110,12 +112,12 @@ make %{?_smp_mflags}
%{?dtsenable}
# Install the NTS stuff
-make -C NTS install INSTALL_ROOT=%{buildroot}
+%make_install -C NTS
install -D -m 644 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name}
%if %{with_zts}
# Install the ZTS stuff
-make -C ZTS install INSTALL_ROOT=%{buildroot}
+%make_install -C ZTS
install -D -m 644 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name}
%endif
@@ -136,40 +138,19 @@ done
: Minimal load test for NTS extension
%{__php} --no-php-ini \
--define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
%if %{with_zts}
: Minimal load test for ZTS extension
%{__ztsphp} --no-php-ini \
--define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \
- --modules | grep %{pecl_name}
+ --modules | grep '^%{pecl_name}$'
%endif
-%if 0%{?fedora} < 24 && 0%{?rhel} < 8
-# when pear installed alone, after us
-%triggerin -- %{?scl_prefix}php-pear
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-# posttrans as pear can be installed after us
-%posttrans
-if [ -x %{__pecl} ] ; then
- %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || :
-fi
-
-%postun
-if [ $1 -eq 0 -a -x %{__pecl} ] ; then
- %{pecl_uninstall} %{pecl_name} >/dev/null || :
-fi
-%endif
-
-
%files
-%{?_licensedir:%license %{sources}/LICENSE*}
-%{!?_licensedir:%doc %{pecl_docdir}/%{pecl_name}}
+%license %{sources}/LICENSE*
%{pecl_xmldir}/%{name}.xml
%config(noreplace) %{php_inidir}/%{ini_name}
@@ -182,6 +163,76 @@ fi
%changelog
+* Thu May 29 2025 Remi Collet <remi@remirepo.net> - 4.31.1-1
+- update to 4.31.1 (no change)
+
+* Thu May 15 2025 Remi Collet <remi@remirepo.net> - 4.31.0-1
+- update to 4.31.0
+
+* Mon May 5 2025 Remi Collet <remi@remirepo.net> - 4.31.0~RC2-1
+- update to 4.31.0RC2
+
+* Tue Apr 22 2025 Remi Collet <remi@remirepo.net> - 4.31.0~RC1-1
+- update to 4.31.0RC1
+
+* Thu Mar 27 2025 Remi Collet <remi@remirepo.net> - 4.30.2-1
+- update to 4.30.2 (no change)
+
+* Fri Mar 14 2025 Remi Collet <remi@remirepo.net> - 4.30.1-1
+- update to 4.30.1 (no change)
+
+* Wed Mar 5 2025 Remi Collet <remi@remirepo.net> - 4.30.0-1
+- update to 4.30.0
+
+* Thu Feb 27 2025 Remi Collet <remi@remirepo.net> - 4.30.0~RC2-1
+- update to 4.30.0RC2
+
+* Wed Feb 5 2025 Remi Collet <remi@remirepo.net> - 4.30.0~RC1-1
+- update to 4.30.0RC1
+
+* Thu Jan 9 2025 Remi Collet <remi@remirepo.net> - 4.29.3-1
+- update to 4.29.3 (no change)
+
+* Wed Dec 18 2024 Remi Collet <remi@remirepo.net> - 4.29.2-1
+- update to 4.29.2 (no change)
+- re-license spec file to CECILL-2.1
+
+* Thu Dec 5 2024 Remi Collet <remi@remirepo.net> - 4.29.1-1
+- update to 4.29.1 (no change)
+
+* Thu Nov 28 2024 Remi Collet <remi@remirepo.net> - 4.29.0-1
+- update to 4.29.0
+
+* Tue Nov 19 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC3-1
+- update to 4.29.0RC3
+
+* Thu Oct 24 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC2-1
+- update to 4.29.0RC2 (no change)
+
+* Tue Oct 1 2024 Remi Collet <remi@remirepo.net> - 4.29.0~RC1-1
+- update to 4.29.0RC1
+
+* Thu Sep 19 2024 Remi Collet <remi@remirepo.net> - 4.28.2-1
+- update to 4.28.2 (no change)
+
+* Thu Sep 12 2024 Remi Collet <remi@remirepo.net> - 4.28.1-1
+- update to 4.28.1
+
+* Thu Aug 29 2024 Remi Collet <remi@remirepo.net> - 4.28.0-1
+- update to 4.28.0
+
+* Mon Aug 26 2024 Remi Collet <remi@remirepo.net> - 4.28.0~RC3-1
+- update to 4.28.0RC3 (no change)
+
+* Fri Aug 9 2024 Remi Collet <remi@remirepo.net> - 4.28.0~RC2-1
+- update to 4.28.0RC2 (no change)
+
+* Fri Jul 12 2024 Remi Collet <remi@remirepo.net> - 4.28.0~RC1-1
+- update to 4.28.0RC1
+
+* Mon Jul 1 2024 Remi Collet <remi@remirepo.net> - 4.27.2-1
+- update to 4.27.2
+
* Thu Jun 6 2024 Remi Collet <remi@remirepo.net> - 4.27.1-1
- update to 4.27.1 (no change)