From efa0f18d4fc47b7cd81372384ab494504eb42ad1 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Aug 2022 07:12:44 +0200 Subject: update to 1.1.0 raise dependency on PHP 7.2 --- PHPINFO | 2 +- REFLECTION | 8 ++++++-- php-ast.spec | 10 +++++++--- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/PHPINFO b/PHPINFO index e24f6b2..7654cbd 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,5 +2,5 @@ ast ast support => enabled -extension version => 1.0.16 +extension version => 1.1.0 AST version => Current version is 90. All versions (including experimental): {50, 60, 70, 80, 85, 90} diff --git a/REFLECTION b/REFLECTION index 631dca4..c0e17ca 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #69 ast version 1.0.16 ] { +Extension [ extension #69 ast version 1.1.0 ] { - - Constants [199] { + - Constants [203] { Constant [ int ast\AST_ARG_LIST ] { 128 } Constant [ int ast\AST_LIST ] { 255 } Constant [ int ast\AST_ARRAY ] { 129 } @@ -133,10 +133,12 @@ Extension [ extension #69 ast version 1.0.16 ] { Constant [ int ast\flags\CLASS_INTERFACE ] { 1 } Constant [ int ast\flags\CLASS_ANONYMOUS ] { 4 } Constant [ int ast\flags\CLASS_ENUM ] { 4194304 } + Constant [ int ast\flags\CLASS_READONLY ] { 8388608 } Constant [ int ast\flags\PARAM_REF ] { 8 } Constant [ int ast\flags\PARAM_VARIADIC ] { 16 } Constant [ int ast\flags\TYPE_NULL ] { 1 } Constant [ int ast\flags\TYPE_FALSE ] { 2 } + Constant [ int ast\flags\TYPE_TRUE ] { 3 } Constant [ int ast\flags\TYPE_BOOL ] { 17 } Constant [ int ast\flags\TYPE_LONG ] { 4 } Constant [ int ast\flags\TYPE_DOUBLE ] { 5 } @@ -200,6 +202,8 @@ Extension [ extension #69 ast version 1.0.16 ] { Constant [ int ast\flags\ARRAY_SYNTAX_SHORT ] { 3 } Constant [ int ast\flags\DIM_ALTERNATIVE_SYNTAX ] { 2 } Constant [ int ast\flags\PARENTHESIZED_CONDITIONAL ] { 1 } + Constant [ int ast\flags\ENCAPS_VAR_DOLLAR_CURLY ] { 1 } + Constant [ int ast\flags\ENCAPS_VAR_DOLLAR_CURLY_VAR_VAR ] { 2 } } - Functions { diff --git a/php-ast.spec b/php-ast.spec index 9684129..30d72fc 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -1,6 +1,6 @@ # remirepo spec file for php-ast # -# Copyright (c) 2015-2021 Remi Collet +# Copyright (c) 2015-2022 Remi Collet # License: CC-BY-SA # http://creativecommons.org/licenses/by-sa/4.0/ # @@ -21,7 +21,7 @@ Summary: Abstract Syntax Tree Name: %{?scl_prefix}php-ast -Version: 1.0.16 +Version: 1.1.0 %if 0%{?gh_date:1} Release: 0.8.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} %else @@ -37,7 +37,7 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}.tgz BuildRequires: make BuildRequires: %{?dtsprefix}gcc -BuildRequires: %{?scl_prefix}php-devel >= 7.0 +BuildRequires: %{?scl_prefix}php-devel >= 7.2 BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-tokenizer @@ -222,6 +222,10 @@ fi %changelog +* Wed Aug 10 2022 Remi Collet - 1.1.0-1 +- update to 1.1.0 +- raise dependency on PHP 7.2 + * Sun Nov 28 2021 Remi Collet - 1.0.16-1 - update to 1.0.16 -- cgit