History log of /php-ast/ (Results 51 – 75 of 325)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
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 ...

4a15f14922-Feb-2020 Tyson Andre

Release php-ast 1.0.6 (#151)

5e3ebe2122-Feb-2020 Tyson Andre

Support parsing php 8.0 TYPE_STATIC, add test of $x::class (#150)

Test ::class on objects

Support parsing php 8.0 TYPE_STATIC

Fixes #149

0a80cfb317-Jan-2020 Tyson Andre

Document new flags for AST_TYPE (null/false)

f2a1ddc717-Jan-2020 Derick Rethans

Fixed warning in ZTS mode, as the paths are the same

12345678910>>...13