History log of /php-ast/ (Results 51 – 75 of 329)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
15a7ebd512-Sep-2020 Tyson Andre

Add param defaults to reflection (of php-ast's functions) in php 8 (#152)

Add param defaults to reflection in php 8

Support generated arginfo macros in older php versions

T

Add param defaults to reflection (of php-ast's functions) in php 8 (#152)

Add param defaults to reflection in php 8

Support generated arginfo macros in older php versions

Throw in `new ast\Node` for invalid parameter types in php 7. (already the default for php 8)

show more ...

f958360a12-Sep-2020 Tyson Andre

Make AST version 80 the current AST version. (#179)

This will stop being experimental in 1.0.10.

Closes #178

e2362a9b12-Sep-2020 Tyson Andre

Update zpp test expectations for php 8. (#182)

PHP 8 refers to arguments as "argument". This changed recently.
PHP 7 refers to arguments as "parameter".

21057fb604-Sep-2020 Tyson Andre

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representati

Support php 8.0 grouped attributes with `#[` (#173)

The choice of null AST_ARG_LIST seems deliberate in php-src, so that
zend_ast_export_attribute_group can emit a different representation for
`attr()` and `attr`

show more ...

2b4a381204-Sep-2020 Tyson Andre

Release php-ast 1.0.9 (#175)

The API will change in php 8.0.0beta3.
Attributes syntax will change in php 8.0.0RC1.

d1aca9c603-Sep-2020 Hailong Zhao

README doc: add php 8.0 null safe method call and property access.

a9f6348303-Sep-2020 Hailong Zhao

README doc: wrong kind value in the example output.

44944ac802-Sep-2020 Remi Collet

fix for 8.0.0beta3

f0f8c3b705-Aug-2020 Tyson Andre

Release php-ast 1.0.8 (#171)

faf5397302-Aug-2020 Tyson Andre

Support the php 8.0 nullsafe operator(?->) (#169)

c6cc7b1c31-Jul-2020 Tyson Andre

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so

Support php 8.0 named parameters (#166)

https://wiki.php.net/rfc/named_params is accepted.
This works when built against the PR implementing that RFC.

Also, amend attributes so that tests pass on php 8.0-dev
(they will be amended again based on the planned vote)

show more ...

49ebd1f831-Jul-2020 Tyson Andre

Support PARAM_MODIFIER_PUBLIC on AST_PARAM nodes (#168)

Fixes #167

9307f8a017-Jul-2020 Remi Collet

relax tests for 8.0 master

f6464b9211-Jul-2020 Tyson Andre

Back to 1.0.8-dev (#164)

4221ed4911-Jul-2020 Tyson Andre

Release php-ast version 1.0.7 (#163)

Add missing test files.

Update the changelog entry.

This will let projects using php-ast start using php 8.0's
attributes/match exp

Release php-ast version 1.0.7 (#163)

Add missing test files.

Update the changelog entry.

This will let projects using php-ast start using php 8.0's
attributes/match expressions.

show more ...

1b5d767d11-Jul-2020 Tyson Andre

Support match expression v2 rfc (#161)

The naming is based on `switch` statements.
Note that even if statement blocks were supported after a future RFC
those would probably be consid

Support match expression v2 rfc (#161)

The naming is based on `switch` statements.
Note that even if statement blocks were supported after a future RFC
those would probably be considered block **expressions**,
hence the `expr` name for `AST_MATCH_ARM`.

* Regenerate ast_stub.php
* Add missing files to package.xml

show more ...

d0545ee711-Jul-2020 Tyson Andre

Add a .editorconfig for this project (#162)

* [skip ci] Add a .editorconfig for this project

Add default indentation choice for file types where it currently isn't a mix.

*

Add a .editorconfig for this project (#162)

* [skip ci] Add a .editorconfig for this project

Add default indentation choice for file types where it currently isn't a mix.

* [skip ci] Suggest spaces for phpt tests

The majority of files use spaces

show more ...

85b6bf8814-Jun-2020 Tyson Andre

Support php 8.0 "Constructor Promotion" and attributes (#160)

- attributes are only available in AST version 80+,
and will be null before php 8.0

66de07d206-Jun-2020 Tyson Andre

Revert "Support php 8.0 "Constructor Promotion" and attributes"

This reverts commit b0370e632aad7b2c6feadaa8ea4610e5e0c055c6.

426e7ea106-Jun-2020 Tyson Andre

Revert "[skip ci] fix .travis.yml"

This reverts commit 7e039f90fc7de67c7985d3141631885e5d601a77.

7e039f9006-Jun-2020 Tyson Andre

[skip ci] fix .travis.yml

b0370e6330-May-2020 Tyson Andre

Support php 8.0 "Constructor Promotion" and attributes

Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key
"attributes" to the hash table in older AST versions.

A

Support php 8.0 "Constructor Promotion" and attributes

Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key
"attributes" to the hash table in older AST versions.

Add visibility modifiers to AST_PARAM, but only in php 8.0+.
MODIFIER_PUBLIC and PARAM_REF are the same value in php 7.4.

show more ...

feae85ba26-May-2020 Tyson Andre

Support php 8.0 non-capturing catch (#157)

f5532bf424-May-2020 Tyson Andre

Support php 8.0's mixed type (#156)

Fixes #154

- We've preferred AST versions that are multiples of 10 for previous releases.

34e55dfa23-May-2020 Tyson Andre

Update the policy for removing AST versions. (#155)

We're no longer on 0.x. Removing a supported version instead of
deprecating it would be considered a backwards incompatible change by

Update the policy for removing AST versions. (#155)

We're no longer on 0.x. Removing a supported version instead of
deprecating it would be considered a backwards incompatible change by
maintainers of applications using php-ast ^1.x.

show more ...

12345678910>>...14