75abbbd2 | 06-Sep-2020 |
Nikita Popov |
Handle flexible heredoc via TokenEmulator Extend the interface to support preprocessing. |
39b04600 | 06-Sep-2020 |
Nikita Popov |
Refactor token emulator registration Only determine needed emulators based on PHP version once, and add an adaptor that allows treating forward and reverse emulation the same.
Refactor token emulator registration Only determine needed emulators based on PHP version once, and add an adaptor that allows treating forward and reverse emulation the same. Previously the isEmulationNeeded() check was too conservative, as it also considered emulators that are not relevant for the version. Though possibly that check should just be dropped altogether.
show more ...
|
e3872b89 | 06-Sep-2020 |
Nikita Popov |
Improve compatibility with other libs defining compat tokens |
4a40a84c | 02-Sep-2020 |
Ondřej Mirtes |
Fixed PHPDoc typo |
88e51976 | 30-Aug-2020 |
Nikita Popov |
Release PHP-Parser 4.9.1 |
35306de3 | 29-Aug-2020 |
Nikita Popov |
Support visibility modifiers in namespaced names Fixes #704. |
ad365b1b | 29-Aug-2020 |
Nikita Popov |
FPPP: Fix code block detection during removal Instead of checking whether there is a {/} before/after the removed note, check whether {/} occurs in the between-node range. Dropping t
FPPP: Fix code block detection during removal Instead of checking whether there is a {/} before/after the removed note, check whether {/} occurs in the between-node range. Dropping that is what we're really concerned about here.
show more ...
|
4bc82432 | 23-Aug-2020 |
Nikita Popov |
Only special-case brace handling for statement lists Don't interpret the } before a catch clause as a block statement and trigger a pretty printing fallback. |
fd6052e3 | 23-Aug-2020 |
Ondrej Mirtes |
FPPP failing tests |
bd722809 | 23-Aug-2020 |
Nikita Popov |
FPPP: Support removing nodes from start of list |
56356e4a | 22-Aug-2020 |
Viktor Szépe |
Remove repeated word from PHPDoc in Name |
aaee038b | 18-Aug-2020 |
Nikita Popov |
Release PHP-Parser 4.9.0 |
f9d35fe1 | 10-Aug-2020 |
Nikita Popov |
Fix casing of class name |
8bcaa426 | 09-Aug-2020 |
Nikita Popov |
Add parens for new/instanceof with complex expression This is not fully accurate because the rules for "new variables" are different than the rules for dereferenceable LHS. |
feb6bf7a | 09-Aug-2020 |
Nikita Popov |
Wrap class const LHS in parens if necessary This looks like a very old bug in the pretty printer that showed up in PHP 8 tests. |
0cee2088 | 09-Aug-2020 |
Nikita Popov |
Remove self/parent/static restriction for namespace names This no longer applies as of PHP 8.0. |
78e08fc1 | 09-Aug-2020 |
Nikita Popov |
Allow keywords in namespace declaration |
3aadc15e | 09-Aug-2020 |
Nikita Popov |
Support keywords in namespaced names |
a9835058 | 09-Aug-2020 |
Nikita Popov |
Add support for throw expression |
7f398769 | 09-Aug-2020 |
Nikita Popov |
Add support for static return type |
98f7f39d | 09-Aug-2020 |
Nikita Popov |
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. |
72211950 | 09-Aug-2020 |
Nikita Popov |
Fine grained version choice for test_old |
544aee16 | 05-Aug-2020 |
Graham Campbell |
Fix up tests |
8c58eb4c | 09-Aug-2020 |
Nikita Popov |
Release PHP-Parser 4.8.0 |
23d9c177 | 02-Aug-2020 |
Nikita Popov |
Add support for nullsafe operator |