de84f767 | 26-Sep-2023 |
Nikita Popov |
Avoid by-reference iteration in NodeTraverser No need to create reference wrappers around every element in the array. |
b4183c2b | 25-Sep-2023 |
Nikita Popov |
Remove Stmt\Throw This was a backwards-compatibility shim for Expr\Throw. |
a1ccf577 | 24-Sep-2023 |
Nikita Popov |
Introduce Stmt\Block Stmt\Block will be created for { $a; } style blocks, unless these occur directly inside some structure that is usually combined with a block. For exampl
Introduce Stmt\Block Stmt\Block will be created for { $a; } style blocks, unless these occur directly inside some structure that is usually combined with a block. For example if ($a) { $b; } will continue to use the old representation (plain array in in If_::$stmts), but a free-standing { $b; } will become a Stmt\Block. Fixes #590.
show more ...
|
f5adbb5e | 24-Sep-2023 |
Nikita Popov |
Add rawValue to InterpolatedStringPart and doc strings For doc strings, the rawValue (on either the String_ or InterpolatedStringPrts) does not include the leading indentation (which
Add rawValue to InterpolatedStringPart and doc strings For doc strings, the rawValue (on either the String_ or InterpolatedStringPrts) does not include the leading indentation (which is available as docIndentation) or the trailing newline on the last part.
show more ...
|
5edc190b | 23-Sep-2023 |
Nikita Popov |
Add support for dumping additional attributes |
80851163 | 23-Sep-2023 |
Nikita Popov |
Assemble NodeDumper result in property Append to a property instead of returning strings. This is significantly faster when dumping large ASTs. This also fixes an inconsistency
Assemble NodeDumper result in property Append to a property instead of returning strings. This is significantly faster when dumping large ASTs. This also fixes an inconsistency where the indentation level for strings and comments was off-by-one.
show more ...
|
8f175fe7 | 23-Sep-2023 |
Nikita Popov |
Pass --dry-run to php-cs-fixer Apparently it only returns the correct exit code with the --dry-run option. |
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. |
f4961b89 | 18-Sep-2023 |
RainX <101971+rainx@users.noreply.github.com> |
Add missing phpdoc annotations in AST nodes (#946) |
8b9488e1 | 17-Sep-2023 |
Nikita Popov |
Explicit test new ParserFactory methods |
21fa9c98 | 17-Sep-2023 |
Nikita Popov |
Drop some @covers annotations |
0b3c7629 | 17-Sep-2023 |
Nikita Popov |
Update docs table of contents |
edee19a5 | 17-Sep-2023 |
Nikita Popov |
Release PHP-Parser 5.0.0 Beta 1 |
ea5ba267 | 17-Sep-2023 |
Nikita Popov |
Add upgrading notes for lexer changes |
ab51e9d3 | 17-Sep-2023 |
Nikita Popov |
Remove superfluous phpdoc tags These just specify a type that is already specified as a real PHP type. |
1873020b | 17-Sep-2023 |
Nikita Popov |
Deprecate Node::getLine() in favor of Node::getStartLine() |
1b346f79 | 17-Sep-2023 |
Nikita Popov |
Remove deprecated Comment methods |
2d3dd4e2 | 17-Sep-2023 |
Nikita Popov |
Don't align phpdoc tags I did this to start with, but then alignment kept being broken during refactorings, and at some point I switched to not aligning, and now we have a big mess.
Don't align phpdoc tags I did this to start with, but then alignment kept being broken during refactorings, and at some point I switched to not aligning, and now we have a big mess. Add a php-cs-fixer rule to consistently not align phpdoc tags.
show more ...
|
3c52ea9b | 17-Sep-2023 |
Nikita Popov |
Document phpVersion effect on pretty printer |
5a7753a9 | 17-Sep-2023 |
Nikita Popov |
Update changelog |
c91c8633 | 17-Sep-2023 |
Nikita Popov |
Add PHP 8.3 to CI matrix |
e395f042 | 17-Sep-2023 |
Nikita Popov |
Add php-cs-fixer CI job |
21ead390 | 17-Sep-2023 |
Nikita Popov |
Update docs after lexer changes |
b11fca03 | 16-Sep-2023 |
Nikita Popov |
Run integration test against PHP 8.3 |
06c7ab51 | 16-Sep-2023 |
Nikita Popov |
Drop Lexer::getTokens() method This doesn't make a lot of sense now that Lexer::tokenize() returns the tokens. The tokens for the last parse should be fetched via Parser::ge
Drop Lexer::getTokens() method This doesn't make a lot of sense now that Lexer::tokenize() returns the tokens. The tokens for the last parse should be fetched via Parser::getTokens() instead.
show more ...
|