v5.3.0
版本发布时间: 2024-09-29 21:59:38
nikic/PHP-Parser最新发布版本:v5.3.0(2024-09-29 21:59:38)
Added
- Added
indent
option to pretty printer, which can be used to specify the indentation to use (defaulting to four spaces). This also allows using tab indentation.
Fixed
- Resolve names in
PropertyHook
s in theNameResolver
. - Include the trailing semicolon inside
Stmt\GroupUse
nodes, making them consistent withStmt\Use_
nodes. - Fixed indentation sometimes becoming negative in formatting-preserving pretty printer, resulting in
ValueError
s.