History log of /PHP-Parser/UPGRADE-5.0.md (Results 1 – 25 of 38)
Revision Date Author Comments
# d619c8b4 09-Jan-2024 Nikita Popov

Fix typo in upgrading guide

Fixes #973.


# 5cc5a670 07-Jan-2024 Nikita Popov

Upgrading guide tweaks


# f82a6365 10-Dec-2023 Nikita Popov

Add upgrading nodes for changes since beta1

Fixes #965.
Fixes #966.


# 13a41f05 17-Dec-2023 Ondřej Mirtes

Fix typos in UPGRADE-5.0.md


# d8e80653 23-Sep-2023 Nikita Popov

Don't parse unicode escapes for PHP < 7.0

We still had the option for this but were hardcoding it to true.
Make it conditional on the PHP version instead.


# ea5ba267 17-Sep-2023 Nikita Popov

Add upgrading notes for lexer changes


# 1873020b 17-Sep-2023 Nikita Popov

Deprecate Node::getLine() in favor of Node::getStartLine()


# 1b346f79 17-Sep-2023 Nikita Popov

Remove deprecated Comment methods


# 5da5231f 27-Aug-2023 Nikita Popov

Indent heredoc/nowdoc when targeting PHP >= 7.3


# 8d583801 27-Aug-2023 Nikita Popov

Default pretty printer to PHP 7.4


# ee3e7db3 16-Aug-2023 Nikita Popov

Raise minimum PHP version to PHP 7.4


# 69993a18 21-May-2023 Nikita Popov

Update CHANGELOG and UPGRADING


# 4ce0de2d 05-Mar-2023 Nikita Popov

Use PHP 7.1 as default pretty printer target


# 8fb71684 05-Mar-2023 Nikita Popov

Update upgrading documentation


# 4917c71a 03-Sep-2022 Nikita Popov

Rename Stmt\UseUse to UseItem


# e1345f0c 03-Sep-2022 Nikita Popov

Rename Stmt\PropertyProperty to PropertyItem


# 03ccfa3d 03-Sep-2022 Nikita Popov

Rename Stmt\DeclareDeclare to DeclareItem


# a44faa63 03-Sep-2022 Nikita Popov

Rename Scalar\Encapsed to Scalar\InterpolatedString


# f4ec6a1e 03-Sep-2022 Nikita Popov

Rename Scalar\EncapsedStringPart to InterpolatedStringPart

It is no longer an expression node, which unfortunately does
require a more awkward type for the Encaps node.


# 23835d20 03-Sep-2022 Nikita Popov

Rename Scalar\LNumber to Scalar\Int_


# 66b20bd6 03-Sep-2022 Nikita Popov

Rename Scalar\DNumber to Scalar\Float_


# 035c1c7c 02-Sep-2022 Nikita Popov

Rename Stmt\StaticVar to StaticVar

This is part of a statement, not a statement by itself.


# 8be56afd 02-Sep-2022 Nikita Popov

Rename Expr\ArrayItem to ArrayItem

Array items are not expressions by themselves.


# f62b2bfd 28-Aug-2022 Nikita Popov

Introduce separate Modifiers class

Use PhpParser\Modifiers::PUBLIC instead of
PhpParser\Node\Stmt\Class_::MODIFIER_PUBLIC, etc. Old constants
of course remain available.

Fix

Introduce separate Modifiers class

Use PhpParser\Modifiers::PUBLIC instead of
PhpParser\Node\Stmt\Class_::MODIFIER_PUBLIC, etc. Old constants
of course remain available.

Fixes #476.

show more ...


# 68fc1ba4 28-Aug-2022 Nikita Popov

Always use List_ node for array destructuring

Fixes #471.


12