2e2954cc | 14-Jul-2019 |
Tyson Andre |
Avoid notices in php 7.4 with hexdec/base_convert (#619) This is made to avoid notices caused by https://wiki.php.net/rfc/base_convert_improvements (seen with `php -d error_repo
Avoid notices in php 7.4 with hexdec/base_convert (#619) This is made to avoid notices caused by https://wiki.php.net/rfc/base_convert_improvements (seen with `php -d error_reporting=E_ALL vendor/bin/phpunit`)
show more ...
|
3f718ee2 | 30-Jun-2019 |
Tomáš Votruba |
[PHP 7.4] Add support for numeric literal separators (#615) Implements RFC https://wiki.php.net/rfc/numeric_literal_separator. Closes #614. |
b9b45dd2 | 30-Jun-2019 |
Nikita Popov |
Insert T_BAD_CHARACTER tokens for missing characters The token stream should cover all characters in the original code, insert a dummy token for missing illegal characters. We should
Insert T_BAD_CHARACTER tokens for missing characters The token stream should cover all characters in the original code, insert a dummy token for missing illegal characters. We should really be doing this in token_get_all() as well.
show more ...
|
a4b43edb | 30-Jun-2019 |
Chris Hewitt |
Fix one-character inconsistency |
3cf61fdd | 23-Jun-2019 |
Nikita Popov |
Only ignore-platform-reqs on nightly |
9484baf8 | 23-Jun-2019 |
Nikita Popov |
Make compatible with PhpUnit 8 |
aad0e289 | 23-Jun-2019 |
Nikita Popov |
Remove token registration from TokenEmulator interface |
624f71fa | 04-Jun-2019 |
hoels <51371415+hoels@users.noreply.github.com> |
Resolve return type of arrow functions (#613) |
Revision tags: v4.2.2 |
|
1bd73cc0 | 25-May-2019 |
Nikita Popov |
Release PHP-Parser 4.2.2 |
94d93f27 | 24-May-2019 |
Nikita Popov |
Revert "Recover from error inside alternative array deref syntax" This reverts commit 9d44edf85dc5882e45fed37a6c541bf20e7c8495. |
a167aa20 | 12-May-2019 |
Nikita Popov |
Optimize attribue checks in the lexer |
993f2990 | 12-May-2019 |
Nikita Popov |
Avoid parent constructor call during node construction Instead explicitly assign the attributes. This is a minor performance improvement. |
9d44edf8 | 12-May-2019 |
Nikita Popov |
Recover from error inside alternative array deref syntax This is to improve error recovery for cases like #545. |
aa97a9bb | 11-May-2019 |
Nikita Popov |
Add changelog entries |
aa72c5d6 | 11-May-2019 |
Nikita Popov |
FPPP: Support inserting into empty lists |
60d025a9 | 11-May-2019 |
Nikita Popov |
Fix attributes for zero-length nop nodes Previously zero-length nop nodes used the lookahead start attributes and current end attributes. This choice ends up being somewhat weird, be
Fix attributes for zero-length nop nodes Previously zero-length nop nodes used the lookahead start attributes and current end attributes. This choice ends up being somewhat weird, because the end attributes will be the at the last non-whitespace, non-comment token, which might be quite far back. More problematically, we may not have encountered any non-discarded token if we're at the start of the file, in which case we will have no end attributes to assign. Change things to use a canonical "zero-length" node representation, where the end position (token & file) will be exactly one before the start position. Fixes #589.
show more ...
|
b2cecec6 | 11-May-2019 |
Nikita Popov |
Remove bogus exprStmt mode test We're always generating expression statements nowadays, this flag hasn't existed for a long while now... |
8012faea | 09-May-2019 |
Tomas Votruba |
[PHP 7.4] Add array spread |
f3b19c19 | 09-May-2019 |
Tomáš Votruba |
[PHP 7.4] Add support for arrow functions (#602) Per RFC https://wiki.php.net/rfc/arrow_functions_v2. |
78d9985d | 28-Apr-2019 |
Andrea Cardaci |
Print messages to stderr in bin/php-parse and fix exit status Close #605. |
57b8673e | 16-Feb-2019 |
Nikita Popov |
Use --ignore-platform-reqs on Travis Allows testing on nightly, which is PHP 8. |
Revision tags: v4.2.1 |
|
5221f49a | 16-Feb-2019 |
Nikita Popov |
Release PHP-Parser 4.2.1 |
ae4e90d5 | 16-Feb-2019 |
Nikita Popov |
Add PHP 7.4 to Travis matrix |
9de96821 | 22-Jan-2019 |
Tomas Votruba |
Add support for ??= operator Introduced in PHP 5.4, represented using an AssignOp\Coalesce node. |
b7e63615 | 19-Jan-2019 |
Lars Moelleken |
updates via "rectorphp/rector" (#573) - "global" -> remove unused "use" statements - "phpunit" -> fix "@covers" comments - "phpunit" -> replace "->will($this->returnValue()" with "->
updates via "rectorphp/rector" (#573) - "global" -> remove unused "use" statements - "phpunit" -> fix "@covers" comments - "phpunit" -> replace "->will($this->returnValue()" with "->willReturn()" - "UseTest.php" -> add missing namespace - "composer.json" -> use "autoload-dev" - remove -> "require_once" usage in the tests (use autoload-dev via composer.json) -> most of the changes are done automatically by "https://github.com/rectorphp/rector"
show more ...
|