From b6f7ce66787f89791effbe0edb7652c464486fb6 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Jan 2022 12:25:54 +0100 Subject: update to 0.9.6 --- PHPINFO | 2 +- REFLECTION | 59 ++++++++++++++++++++++++++++++++++++++++---------- php-pecl-jsonpath.spec | 5 ++++- 3 files changed, 52 insertions(+), 14 deletions(-) diff --git a/PHPINFO b/PHPINFO index 4406207..b708f9b 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ jsonpath jsonpath support => enabled -jsonpath version => 0.9.5 +jsonpath version => 0.9.6 diff --git a/REFLECTION b/REFLECTION index 00edf2d..8123941 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #121 jsonpath version 0.9.5 ] { +Extension [ extension #111 jsonpath version 0.9.6 ] { - Classes [2] { Class [ class JsonPath\JsonPath ] { @@ -19,14 +19,15 @@ Extension [ extension #121 jsonpath version 0.9.5 ] { Method [ public method find ] { - Parameters [2] { - Parameter #0 [ $data ] - Parameter #1 [ $expression ] + Parameter #0 [ array $data ] + Parameter #1 [ string $expression ] } + - Return [ array|bool ] } } } - Class [ class JsonPath\JsonPathException extends RuntimeException implements Throwable ] { + Class [ class JsonPath\JsonPathException extends RuntimeException implements Stringable, Throwable ] { - Constants [0] { } @@ -38,47 +39,81 @@ Extension [ extension #121 jsonpath version 0.9.5 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] } - Methods [10] { Method [ public method __construct ] { - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] } } Method [ public method __wakeup ] { + + - Parameters [0] { + } } Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getCode ] { + + - Parameters [0] { + } } Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] } Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] } Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] } Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] } Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] } - Method [ public method __toString ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } diff --git a/php-pecl-jsonpath.spec b/php-pecl-jsonpath.spec index ad14d53..6c00b8f 100644 --- a/php-pecl-jsonpath.spec +++ b/php-pecl-jsonpath.spec @@ -25,7 +25,7 @@ Summary: Extract data using JSONPath notation Name: %{?sub_prefix}php-pecl-jsonpath -Version: 0.9.5 +Version: 0.9.6 Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP URL: https://pecl.php.net/package/%{pecl_name} @@ -195,6 +195,9 @@ cd ../ZTS %changelog +* Thu Jan 13 2022 Remi Collet - 0.9.6-1 +- update to 0.9.6 + * Mon Nov 1 2021 Remi Collet - 0.9.5-1 - update to 0.9.5 -- cgit