From 2a70999e41ce3d8676d4748866f21d8d2b8c9a7b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 31 Aug 2022 07:36:02 +0200 Subject: update to 0.1.2 --- PHPINFO | 2 +- REFLECTION | 6 +++--- php-pecl-var-representation.spec | 27 +++++++-------------------- 3 files changed, 11 insertions(+), 24 deletions(-) diff --git a/PHPINFO b/PHPINFO index daa2556..392161f 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,4 +2,4 @@ var_representation var_representation support => enabled -var_representation version => 0.1.1 +var_representation version => 0.1.2 diff --git a/REFLECTION b/REFLECTION index e7136c4..212e9fa 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #105 var_representation version 0.1.1 ] { +Extension [ extension #101 var_representation version 0.1.2 ] { - Constants [2] { Constant [ int VAR_REPRESENTATION_SINGLE_LINE ] { 1 } @@ -9,8 +9,8 @@ Extension [ extension #105 var_representation version 0.1.1 ] { Function [ function var_representation ] { - Parameters [2] { - Parameter #0 [ $value ] - Parameter #1 [ int $flags ] + Parameter #0 [ mixed $value ] + Parameter #1 [ int $flags = 0 ] } - Return [ string ] } diff --git a/php-pecl-var-representation.spec b/php-pecl-var-representation.spec index 3ca13e0..4a65c46 100644 --- a/php-pecl-var-representation.spec +++ b/php-pecl-var-representation.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-pecl-var-representation # -# Copyright (c) 2021 Remi Collet +# Copyright (c) 2021-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -19,13 +19,13 @@ %global pecl_name var_representation %global ini_name 40-%{pecl_name}.ini -%global upstream_version 0.1.1 +%global upstream_version 0.1.2 #global upstream_prever RC1 -Summary: var_representation extension +Summary: A compact, more readable alternative to var_export Name: %{?scl_prefix}php-pecl-var-representation Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}} -Release: 3%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD URL: https://pecl.php.net/package/%{pecl_name} @@ -48,22 +48,6 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -%if "%{php_version}" > "7.3" -Obsoletes: php73-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.4" -Obsoletes: php74-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.0" -Obsoletes: php80-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "8.1" -Obsoletes: php81-pecl-%{pecl_name} <= %{version} -%endif -%endif - %description var_representation is a compact alternative to var_export that @@ -207,6 +191,9 @@ fi %changelog +* Wed Aug 31 2022 Remi Collet - 0.1.2-1 +- update to 0.1.2 + * Wed Sep 01 2021 Remi Collet - 0.1.1-3 - rebuild for 8.1.0RC1 -- cgit