summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2019-07-01 06:20:35 +0200
committerRemi Collet <remi@remirepo.net>2019-07-01 06:20:35 +0200
commit4db92a0ba4b1d25327102dd57d0696fa62a11206 (patch)
tree69fcfa4a76b8f925c2a9ace45a1c0de86d351681
parent26a0aebd1485fff15286349f58160cdc34cbabed (diff)
v1.0.2
-rw-r--r--PHPINFO2
-rw-r--r--REFLECTION9
-rw-r--r--php-ast.spec19
3 files changed, 19 insertions, 11 deletions
diff --git a/PHPINFO b/PHPINFO
index 155ddb9..b0acab8 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -2,3 +2,5 @@
ast
ast support => enabled
+extension version => 1.0.2
+AST version => Current version is 70. All versions (including experimental): {50, 60, 70}
diff --git a/REFLECTION b/REFLECTION
index 4a5e4e5..f48d109 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,6 @@
-Extension [ <persistent> extension #77 ast version 1.0.1 ] {
+Extension [ <persistent> extension #76 ast version 1.0.2 ] {
- - Constants [173] {
+ - Constants [174] {
Constant [ integer ast\AST_ARG_LIST ] { 128 }
Constant [ integer ast\AST_LIST ] { 255 }
Constant [ integer ast\AST_ARRAY ] { 129 }
@@ -24,6 +24,7 @@ Extension [ <persistent> extension #77 ast version 1.0.1 ] {
Constant [ integer ast\AST_FUNC_DECL ] { 66 }
Constant [ integer ast\AST_CLOSURE ] { 67 }
Constant [ integer ast\AST_METHOD ] { 68 }
+ Constant [ integer ast\AST_ARROW_FUNC ] { 1535 }
Constant [ integer ast\AST_CLASS ] { 69 }
Constant [ integer ast\AST_MAGIC_CONST ] { 0 }
Constant [ integer ast\AST_TYPE ] { 1 }
@@ -181,14 +182,14 @@ Extension [ <persistent> extension #77 ast version 1.0.1 ] {
- Parameters [2] {
Parameter #0 [ <required> $filename ]
- Parameter #1 [ <optional> $version ]
+ Parameter #1 [ <required> $version ]
}
}
Function [ <internal:ast> function ast\parse_code ] {
- Parameters [3] {
Parameter #0 [ <required> $code ]
- Parameter #1 [ <optional> $version ]
+ Parameter #1 [ <required> $version ]
Parameter #2 [ <optional> $filename ]
}
}
diff --git a/php-ast.spec b/php-ast.spec
index 1dfe641..4abc723 100644
--- a/php-ast.spec
+++ b/php-ast.spec
@@ -20,7 +20,7 @@
Summary: Abstract Syntax Tree
Name: %{?scl_prefix}php-ast
-Version: 1.0.1
+Version: 1.0.2
%if 0%{?gh_date:1}
Release: 0.5.%{gh_date}git%{gh_short}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
%else
@@ -55,10 +55,6 @@ Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version}
Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version}
%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
-Obsoletes: php70u-%{pecl_name} <= %{version}
-Obsoletes: php70u-pecl-%{pecl_name} <= %{version}
-Obsoletes: php70w-%{pecl_name} <= %{version}
-Obsoletes: php70w-pecl-%{pecl_name} <= %{version}
%if "%{php_version}" > "7.1"
Obsoletes: php71u-%{pecl_name} <= %{version}
Obsoletes: php71u-pecl-%{pecl_name} <= %{version}
@@ -72,11 +68,17 @@ Obsoletes: php72w-%{pecl_name} <= %{version}
Obsoletes: php72w-pecl-%{pecl_name} <= %{version}
%endif
%if "%{php_version}" > "7.3"
-Obsoletes: php73u-%{pecl_name} <= %{version}
-Obsoletes: php73u-pecl-%{pecl_name} <= %{version}
+Obsoletes: php73-%{pecl_name} <= %{version}
+Obsoletes: php73-pecl-%{pecl_name} <= %{version}
Obsoletes: php73w-%{pecl_name} <= %{version}
Obsoletes: php73w-pecl-%{pecl_name} <= %{version}
%endif
+%if "%{php_version}" > "7.4"
+Obsoletes: php74-%{pecl_name} <= %{version}
+Obsoletes: php74-pecl-%{pecl_name} <= %{version}
+Obsoletes: php74w-%{pecl_name} <= %{version}
+Obsoletes: php74w-pecl-%{pecl_name} <= %{version}
+%endif
%endif
%if 0%{?fedora} < 20 && 0%{?rhel} < 7
@@ -236,6 +238,9 @@ fi
%changelog
+* Mon Jul 1 2019 Remi Collet <remi@remirepo.net> - 1.0.2-1
+- update to 1.0.2
+
* Mon Feb 11 2019 Remi Collet <remi@remirepo.net> - 1.0.1-1
- update to 1.0.1