Skip to content

Commit

Permalink
Release php-ast 1.0.4 (#139)
Browse files Browse the repository at this point in the history
* Release php-ast 1.0.4

* Update date, add me as <developer> in package.xml
  • Loading branch information
TysonAndre authored Nov 10, 2019
1 parent c391b7d commit 34bad61
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
9 changes: 5 additions & 4 deletions ast_stub.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
const AST_NAME_LIST = 141;
const AST_TRAIT_ADAPTATIONS = 142;
const AST_USE = 143;
const AST_TYPE_UNION = 144;
const AST_NAME = 2048;
const AST_CLOSURE_VAR = 2049;
const AST_NULLABLE_TYPE = 2050;
Expand Down Expand Up @@ -127,15 +128,15 @@
const PARAM_REF = 1;
const PARAM_VARIADIC = 2;
const TYPE_NULL = 1;
const TYPE_BOOL = 16;
const TYPE_BOOL = 18;
const TYPE_LONG = 4;
const TYPE_DOUBLE = 5;
const TYPE_STRING = 6;
const TYPE_ARRAY = 7;
const TYPE_OBJECT = 8;
const TYPE_CALLABLE = 17;
const TYPE_VOID = 19;
const TYPE_ITERABLE = 18;
const TYPE_CALLABLE = 12;
const TYPE_VOID = 14;
const TYPE_ITERABLE = 13;
const UNARY_BOOL_NOT = 14;
const UNARY_BITWISE_NOT = 13;
const UNARY_SILENCE = 260;
Expand Down
15 changes: 11 additions & 4 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,16 @@
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2019-07-27</date>
<developer>
<name>Tyson Andre</name>
<user>tandre</user>
<email>[email protected]</email>
<active>yes</active>
</developer>
<date>2019-11-10</date>
<version>
<release>1.0.4dev</release>
<api>1.0.3</api>
<release>1.0.4</release>
<api>1.0.4</api>
</version>
<stability>
<release>stable</release>
Expand All @@ -24,7 +30,6 @@
<license uri="https://github.com/nikic/php-ast/blob/master/LICENSE">BSD-3-Clause</license>
<notes>
- Add AST_TYPE_UNION to support PHP 8.0 Union Types.
- TBD.
</notes>
<contents>
<dir name="/">
Expand Down Expand Up @@ -86,6 +91,8 @@
<file name="php74_ordinary_class.phpt" role="test" />
<file name="php74_parenthesized_conditional.phpt" role="test" />
<file name="php74_type_hints.phpt" role="test" />
<file name="php80_union_types.phpt" role="test" />
<file name="php80_union_types_nullable.phpt" role="test" />
<file name="prop_doc_comments.phpt" role="test" />
<file name="short_arrow_function.phpt" role="test" />
<file name="short_arrow_function_return.phpt" role="test" />
Expand Down
2 changes: 1 addition & 1 deletion php_ast.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
extern zend_module_entry ast_module_entry;
#define phpext_ast_ptr &ast_module_entry

#define PHP_AST_VERSION "1.0.4dev"
#define PHP_AST_VERSION "1.0.4"

#ifdef PHP_WIN32
# define PHP_AST_API __declspec(dllexport)
Expand Down

3 comments on commit 34bad61

@remicollet
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version 1.0.4 is missing on PECL ?
https://pecl.php.net/package/ast => only 1.0.3

@TysonAndre
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I merged it thinking I was able to create a PECL release but was mistaken.

#139 (comment)

Sorry, it's been a while since I looked at the pecl website documentation. Regular maintainers of packages can't upload releases, just leads.

@nikic
Copy link
Owner

@nikic nikic commented on 34bad61 Nov 11, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@TysonAndre Added as lead now.

Please sign in to comment.