Nikita Popov
|
a98350581c
|
Add support for throw expression
|
2020-08-09 20:52:55 +02:00 |
|
Nikita Popov
|
7f398769a0
|
Add support for static return type
|
2020-08-09 18:52:32 +02:00 |
|
Nikita Popov
|
98f7f39d1c
|
Add named argument support
Not adding any explicit FPPP support, as I don't think add/remove
of names can be handled any better than full reformatting.
|
2020-08-09 17:37:44 +02:00 |
|
Nikita Popov
|
8c58eb4cd4
|
Release PHP-Parser 4.8.0
|
2020-08-09 12:23:20 +02:00 |
|
Nikita Popov
|
21dce06dfb
|
Release PHP-Parser 4.7.0
|
2020-07-25 15:18:53 +02:00 |
|
Nikita Popov
|
2d1998938c
|
[PHP 8.0] Support trailing comma in closure use list
RFC: https://wiki.php.net/rfc/trailing_comma_in_closure_use_list
|
2020-07-22 18:43:55 +02:00 |
|
Nikita Popov
|
739b4b4c60
|
Fix handling of unterminated comment with trailing newline
Fixes #688.
|
2020-07-22 18:35:55 +02:00 |
|
Graham Campbell
|
cd7c058e76
|
Added missing entry to change log and correct next version indicator (#685)
* Added missing entry to change log and correct next version indicator
* Update composer.json
|
2020-07-19 18:36:23 +02:00 |
|
Tomas Votruba
|
69c5d48afd
|
[PHP 8.0] Add match expressions (#672)
RFC: https://wiki.php.net/rfc/match_expression_v2
Upstream implementation: php/php-src#5371
Closes #671.
|
2020-07-15 21:40:05 +02:00 |
|
Nikita Popov
|
c346bbfafe
|
Release PHP-Parser 4.6.0
|
2020-07-02 19:12:47 +02:00 |
|
Nikita Popov
|
53c2753d75
|
Release PHP-Parser 4.5.0
|
2020-06-03 09:24:19 +02:00 |
|
Máté Kocsis
|
32f89662f3
|
Add support for the mixed type
|
2020-05-28 23:39:04 +02:00 |
|
Nikita Popov
|
bd43ec7152
|
Release PHP-Parser 4.4.0
|
2020-04-10 18:34:50 +02:00 |
|
Nikita Popov
|
9a9981c347
|
Release PHP-Parser 4.3.0
|
2019-11-08 14:50:10 +01:00 |
|
Nikita Popov
|
b76bbc3c51
|
Release PHP-Parser 4.2.5
|
2019-10-25 20:33:07 +02:00 |
|
Nikita Popov
|
97e59c7a16
|
Release PHP-Parser 4.2.4
|
2019-09-01 09:51:21 +02:00 |
|
Nikita Popov
|
e612609022
|
Release PHP-Parser 4.2.3
|
2019-08-12 22:17:41 +02:00 |
|
Nikita Popov
|
1bd73cc04c
|
Release PHP-Parser 4.2.2
|
2019-05-25 22:07:01 +02:00 |
|
Nikita Popov
|
aa97a9bb69
|
Add changelog entries
|
2019-05-11 23:08:31 +02:00 |
|
Nikita Popov
|
5221f49a60
|
Release PHP-Parser 4.2.1
|
2019-02-16 21:54:15 +01:00 |
|
Tomas Votruba
|
9de96821f7
|
Add support for ??= operator
Introduced in PHP 5.4, represented using an AssignOp\Coalesce node.
|
2019-02-09 11:16:26 +01:00 |
|
Nikita Popov
|
594bcae1fc
|
Release PHP-Parser 4.2.0
|
2019-01-12 17:31:37 +01:00 |
|
Nikita Popov
|
1f95f9215c
|
Tweak type annotation to include null
|
2019-01-12 17:31:37 +01:00 |
|
Nikita Popov
|
ea3657fc5f
|
Bump version to 4.2.0-dev
|
2019-01-05 21:34:53 +01:00 |
|
Tomas Votruba
|
af8c729603
|
Add PHP 7.4 typed properties support
|
2019-01-05 21:34:25 +01:00 |
|
Tomas Votruba
|
0ef61b49bb
|
add float/double/real KIND support to Cast\Double node
|
2019-01-05 19:23:00 +01:00 |
|
Nikita Popov
|
90ee36a7fc
|
Actually remove assertion...
|
2018-12-26 14:19:18 +01:00 |
|
Nikita Popov
|
8aae5b59b8
|
Release PHP-Parser 4.1.1
|
2018-12-26 12:32:39 +01:00 |
|
Nikita Popov
|
3d0f7843d4
|
Support error recovery for missing return type
The return type is set to "null" in this case.
Fixes #544.
|
2018-10-25 16:56:50 +02:00 |
|
Phil Davis
|
69068722b7
|
Fix typo of DONT_TRAVERSE_CURRENT_AND_CHILDREN
|
2018-10-11 10:16:31 +02:00 |
|
Nikita Popov
|
d0230c5c77
|
Release PHP-Parser 4.1.0
|
2018-10-10 11:24:14 +02:00 |
|
Nikita Popov
|
4fb48c0e18
|
Mark PHP 7.3 as supported
Also bump version to PHP-Parser 4.1.
|
2018-09-22 10:54:21 +02:00 |
|
Nikita Popov
|
fa6ee28600
|
Release PHP-Parser 4.0.4
|
2018-09-18 09:03:24 +02:00 |
|
Nikita Popov
|
16c5d107ca
|
Revert "Add check for leading backslash in Name ctor"
This reverts commit 2f67429ec9 .
Reverting this to avoid a BC break in a patch release, will
reapply for the next major version.
|
2018-09-18 09:00:32 +02:00 |
|
Nikita Popov
|
41408081d7
|
Rename setTypeHint() to setType()
To align with modern terminology -- we don't like calling these
type hints anymore. Old method name remains, marked as @deprecated.
|
2018-07-22 21:41:21 +02:00 |
|
Nikita Popov
|
4d6825c460
|
Add notes for new builders in docs
|
2018-07-22 21:33:04 +02:00 |
|
Nikita Popov
|
2f67429ec9
|
Add check for leading backslash in Name ctor
Fixes #523.
|
2018-07-21 21:58:32 +02:00 |
|
Nikita Popov
|
0cd7207ca6
|
Add tests for var() and propertyFetch()
|
2018-07-20 21:59:42 +02:00 |
|
Nikita Popov
|
b855c1ca23
|
Add some tests for new use builders
|
2018-07-20 21:44:37 +02:00 |
|
Nikita Popov
|
bd088dc940
|
Release PHP-Parser 4.0.3
|
2018-07-15 19:25:16 +02:00 |
|
Nikita Popov
|
8b1c9c0409
|
Store comment at end of class in Nop statement
Fixed #509.
|
2018-07-07 12:49:49 +02:00 |
|
Nikita Popov
|
f967b867d5
|
Improve error recovery in arrays
Similarly to missing semicolons, the error is not indicated in the
AST.
Fixes #512.
|
2018-07-07 12:24:06 +02:00 |
|
Nikita Popov
|
35b8caf75e
|
Release PHP-Parser 4.0.2
|
2018-06-03 13:33:10 +02:00 |
|
Nikita Popov
|
7b201b63d2
|
Error recovery for functions without body
|
2018-05-13 16:28:08 +02:00 |
|
Nikita Popov
|
01e85a26c6
|
Support recovery for param without variable
We store an Expr\Error for the variable in this case.
|
2018-05-12 19:49:39 +02:00 |
|
Nikita Popov
|
fa99c3fbfb
|
Recover from foreach without as
|
2018-04-28 22:31:45 +02:00 |
|
Nikita Popov
|
e4a54fa90a
|
Release PHP-Parser 4.0.1
|
2018-03-25 19:35:16 +02:00 |
|
Nikita Popov
|
3125b54e5e
|
Link to composer/xdebug-handler
|
2018-03-25 19:34:45 +02:00 |
|
Nikita Popov
|
7f8ff1b9a4
|
Add support for list reference assignments
RFC: https://wiki.php.net/rfc/list_reference_assignment
|
2018-03-10 16:48:20 +01:00 |
|
Nikita Popov
|
91a462ce76
|
PHP 7.3: Add support for trailing commas in calls
RFC: https://wiki.php.net/rfc/trailing-comma-function-calls
|
2018-03-10 16:41:20 +01:00 |
|