Skip to content

Commit dca41cd

Browse files
committed
Release PHP-Parser 5.7.0
1 parent 8211479 commit dca41cd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,22 @@
1+
Version 5.7.0 (2025-12-06)
2+
--------------------------
3+
4+
### Fixed
5+
6+
* Fixed changing modifier on anonymous class with formatting preserving pretty printer.
7+
* Emit an error for unparenthesized arrow functions in pipe operator, and print necessary
8+
parentheses in the pretty printer.
9+
* Fix PHP 8.5 deprecation warning in php-parse binary.
10+
11+
### Changed
12+
13+
* When targeting PHP 8.4 or newer, omit parentheses around immediately dereferenced new expressions.
14+
15+
### Added
16+
17+
* Added `shouldPrintRawValue` attribute to `Scalar\Int_`, which makes the pretty printer use the
18+
`rawValue` of the node. This can be used to print integers with separators.
19+
120
Version 5.6.2 (2025-10-21)
221
--------------------------
322

0 commit comments

Comments
 (0)