e3ff8cf0 | 19-Jun-2022 |
Nikita Popov |
Add support for true type The null/false types were alread accepted previously, even though they are only legal as standalone types since PHP 8.2. |
b0469d12 | 12-Jun-2022 |
Nikita Popov |
Rename Expr\ClosureUse -> ClosureUse This is not a real expression, treat it similarly to Node\Arg or Node\Param. The old name is retained as an alias for compatibility. |
23be1f9b | 12-Jun-2022 |
Nikita Popov |
Update doc references |
3fd30f64 | 12-Jun-2022 |
Nikita Popov |
Remove deprecated param builder method |
55f29b15 | 12-Jun-2022 |
Nikita Popov |
Improve ParserFactory version targeting Most users will want to pick createForNewestSupportedVersion() or getForHostVersion(). The currently default is the former, which can lead to
Improve ParserFactory version targeting Most users will want to pick createForNewestSupportedVersion() or getForHostVersion(). The currently default is the former, which can lead to unwanted surprised due to PHP BC breaks for users that actually want the latter. Make this choice more explicit.
show more ...
|
d3d1297c | 06-Jun-2022 |
Nikita Popov |
Remove PHP 5 parser |
b4902cef | 10-Jun-2022 |
Romain |
optimization haveTokenImmediatelyAfter performance |
b6d11da5 | 05-Jun-2022 |
Nikita Popov |
Add space after "use" during empty list insertion as well |
bdd131d3 | 05-Jun-2022 |
Nikita Popov |
Add missing strict_types=1 directive to parser |
472e163f | 05-Jun-2022 |
Nikita Popov |
Use extends instead of class_alias Apparently we can't alias an internal class. |
fe9db376 | 05-Jun-2022 |
Nikita Popov |
Perform token position adjustment during emulator patching |
aff98bbf | 04-Jun-2022 |
Nikita Popov |
Use PHP 8.0 token representation Migrate everything to use PhpToken-compatible token representation, rather than the legacy array/string representation. |
7c445bb6 | 04-Jun-2022 |
Tomas Votruba |
Remove space before return type in insertionMap (#841) * remove space before colon in PrettyPrinterAbstract * update tests |
5af93eee | 04-Jun-2022 |
Nikita Popov |
Use nullable type instead of null default Fixes #752. |
27fe7a68 | 04-Jun-2022 |
Nikita Popov |
Include space after closure use |
6c0b63d9 | 25-Jan-2022 |
Dominik Peters |
Change print order of modifiers Print abstract/final before visibility modifiers, in line with PSR-12. Closes #826. |
87387caf | 04-Jun-2022 |
Nikita Popov |
Remove space before return type in pretty printer |
9c5eb3cc | 04-Jun-2022 |
Nikita Popov |
Add some missing type annotations |
e70541f1 | 04-Jun-2022 |
Nikita Popov |
Merge branch '4.x'
|
2d589921 | 04-Jun-2022 |
Nikita Popov |
Fix incorrect doc type |
5466ee36 | 04-Jun-2022 |
Nikita Popov |
Drop support for running on PHP 7.0 |
1f416d90 | 04-Jun-2022 |
Nikita Popov |
Target PHP-Parser 5.0 |
cdb731fa | 31-May-2022 |
Nikita Popov |
Update integration test target to 8.1 |
e727475d | 31-May-2022 |
Nikita Popov |
Support readonly as function name This special case was added after the PHP 8.1 release. |
34bea19b | 31-May-2022 |
Nikita Popov |
Release PHP-Parser 4.14.0 |