History log of /PHP-Parser/UPGRADE-5.0.md (Results 26 – 38 of 38)
Revision Date Author Comments
# e61bb119 24-Jul-2022 Nikita Popov

Add additional upgrading notes for pretty printer


# 1e89658c 23-Jul-2022 Nikita Popov

Add PhpVersion class


# 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


# 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.


# 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


# 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


12