summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION5
-rw-r--r--php-ast.spec12
3 files changed, 13 insertions, 6 deletions
diff --git a/PHPINFO b/PHPINFO
index 6e595f9..a4df1c7 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,5 +2,5 @@
ast
ast support => enabled
-extension version => 1.0.12
+extension version => 1.0.13
AST version => Current version is 80. All versions (including experimental): {50, 60, 70, 80, 85}
diff --git a/REFLECTION b/REFLECTION
index e5b5b8d..539b803 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,6 @@
-Extension [ <persistent> extension #67 ast version 1.0.12 ] {
+Extension [ <persistent> extension #67 ast version 1.0.13 ] {
- - Constants [196] {
+ - Constants [197] {
Constant [ int ast\AST_ARG_LIST ] { 128 }
Constant [ int ast\AST_LIST ] { 255 }
Constant [ int ast\AST_ARRAY ] { 129 }
@@ -19,6 +19,7 @@ Extension [ <persistent> extension #67 ast version 1.0.12 ] {
Constant [ int ast\AST_TRAIT_ADAPTATIONS ] { 142 }
Constant [ int ast\AST_USE ] { 143 }
Constant [ int ast\AST_TYPE_UNION ] { 254 }
+ Constant [ int ast\AST_TYPE_INTERSECTION ] { 250 }
Constant [ int ast\AST_ATTRIBUTE_LIST ] { 253 }
Constant [ int ast\AST_ATTRIBUTE_GROUP ] { 251 }
Constant [ int ast\AST_MATCH_ARM_LIST ] { 252 }
diff --git a/php-ast.spec b/php-ast.spec
index 1fc36fc..72b561a 100644
--- a/php-ast.spec
+++ b/php-ast.spec
@@ -21,7 +21,7 @@
Summary: Abstract Syntax Tree
Name: %{?scl_prefix}php-ast
-Version: 1.0.12
+Version: 1.0.13
%if 0%{?gh_date:1}
Release: 0.7.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
@@ -69,6 +69,9 @@ Obsoletes: php74-pecl-%{pecl_name} <= %{version}
%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
@@ -161,7 +164,7 @@ cd NTS
: 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}$'
: Upstream test suite for NTS extension
TEST_PHP_EXECUTABLE=%{__php} \
@@ -175,7 +178,7 @@ cd ../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}$'
: Upstream test suite for ZTS extension
TEST_PHP_EXECUTABLE=%{__ztsphp} \
@@ -221,6 +224,9 @@ fi
%changelog
+* Thu Jul 8 2021 Remi Collet <remi@remirepo.net> - 1.0.13-1
+- update to 1.0.13
+
* Mon May 17 2021 Remi Collet <remi@remirepo.net> - 1.0.12-1
- update to 1.0.12