df3a7057 | 21-May-2023 |
Nikita Popov |
Add Name::getParts(), deprecate Name::$parts In preparation for switching this to a plain string in PHP-Parser 5, deprecate direct access to the property and provide an API that will
Add Name::getParts(), deprecate Name::$parts In preparation for switching this to a plain string in PHP-Parser 5, deprecate direct access to the property and provide an API that will work on both versions. (cherry picked from commit c9e5a13d68486e9fd75f9be1b4639644e54e7f4f)
show more ...
|
ad8daa12 | 21-May-2023 |
Nikita Popov |
Normalize newlines in Comment::getReformattedText() Normalize CRLF to LF in getReformattedText(). That was, if the comment is pretty-printed, we will use proper LF newlines, rather t
Normalize newlines in Comment::getReformattedText() Normalize CRLF to LF in getReformattedText(). That was, if the comment is pretty-printed, we will use proper LF newlines, rather than inserting indentation between the CR and LF. At the same time, this also makes it easier to emit actual CRLF newlines with a custom pretty printer. Fixes #599.
show more ...
|