674c5610 | 04-Oct-2018 |
Matthew Brown |
StaticCall::$name cannot be a string |
4fb48c0e | 22-Sep-2018 |
Nikita Popov |
Mark PHP 7.3 as supported Also bump version to PHP-Parser 4.1. |
d638dd9b | 22-Sep-2018 |
Tomáš Votruba |
Use methods instead of annotations for expected exceptions (#533) |
c5316487 | 22-Sep-2018 |
Nikita Popov |
Update test_old Symfony runner |
eebaa946 | 22-Sep-2018 |
Nikita Popov |
Flexible doc strings: Fix some issues, add more tests |
0ed9065b | 21-Sep-2018 |
Nikita Popov |
Flexible doc: Validate and strip indentation If indentation is invalid, we strip on a best-effort basis. The error position information is not great, but I don't want to introdu
Flexible doc: Validate and strip indentation If indentation is invalid, we strip on a best-effort basis. The error position information is not great, but I don't want to introduce sub-token error positioning at this point in time.
show more ...
|
5f73c4de | 21-Sep-2018 |
Nikita Popov |
Flexible doc: Validate end label indentation Move doc string parsing logic from rebuildParsers.php and String_::parseDocString() into ParserAbstract. This stuff is going to get compl
Flexible doc: Validate end label indentation Move doc string parsing logic from rebuildParsers.php and String_::parseDocString() into ParserAbstract. This stuff is going to get complicated now. For now only implement the validation of the indentation on the end label.
show more ...
|
146411bb | 21-Sep-2018 |
Nikita Popov |
Ignore one more test... This one is passing on Windows because the extra \r makes the opening tag actually valid. Fails on Linux though. |
e12891a9 | 21-Sep-2018 |
Nikita Popov |
Ignore failures in complex flexible doc string tests These test nesting of flexible heredoc strings. This is too hard for us to emulate and we do not expect to see these patterns used in
Ignore failures in complex flexible doc string tests These test nesting of flexible heredoc strings. This is too hard for us to emulate and we do not expect to see these patterns used in the wild.
show more ...
|
a5c726bf | 21-Sep-2018 |
Nikita Popov |
Make sure heredoc end label not followed by label char |
fd936907 | 21-Sep-2018 |
Nikita Popov |
Test against more recent php-src tarball |
Revision tags: v4.0.4, v4.0.3, v4.0.2 |
|
83766c8c | 28-Apr-2018 |
Nikita Popov |
Partial support for flexible heredoc/nowdoc This only implements the token emulation part, it does not yet handle the indentation stripping. Emulating this feature on old PHP ve
Partial support for flexible heredoc/nowdoc This only implements the token emulation part, it does not yet handle the indentation stripping. Emulating this feature on old PHP versions is really tough and is not going to work perfectly, but hopefully this implementation is "good enough".
show more ...
|
fa6ee286 | 18-Sep-2018 |
Nikita Popov |
Release PHP-Parser 4.0.4 |
16c5d107 | 18-Sep-2018 |
Nikita Popov |
Revert "Add check for leading backslash in Name ctor" This reverts commit 2f67429ec93857b8a3ae5a15165818e5eda8fb56. Reverting this to avoid a BC break in a patch release, will r
Revert "Add check for leading backslash in Name ctor" This reverts commit 2f67429ec93857b8a3ae5a15165818e5eda8fb56. Reverting this to avoid a BC break in a patch release, will reapply for the next major version.
show more ...
|
d7d581c1 | 27-Aug-2018 |
Tomáš Votruba |
Remove NodeTraverser dependency on parent::__construct() (#528) A parent::__construct() call is now optional when extending NodeTraverser. |
1973b663 | 16-Aug-2018 |
Brent Shaffer |
Fixes typo in AST Builder doc (#529) |
7f96481c | 22-Jul-2018 |
Nikita Popov |
Mark PHP-Parser 3.0 as unsupported The last release was in Febuary and there haven't been any commits since. Make it official. |
41408081 | 22-Jul-2018 |
Nikita Popov |
Rename setTypeHint() to setType() To align with modern terminology -- we don't like calling these type hints anymore. Old method name remains, marked as @deprecated. |
4d6825c4 | 22-Jul-2018 |
Nikita Popov |
Add notes for new builders in docs |
d4a5a6e8 | 22-Jul-2018 |
ProgMiner |
Add tests for Builder\TraitUseAdaptation |
c55798cc | 22-Jul-2018 |
ProgMiner |
Add tests for Builder\TraitUse |
82e8b338 | 22-Jul-2018 |
ProgMiner |
Add some trait use factory builder integration tests |
8d9ae465 | 22-Jul-2018 |
ProgMiner |
Add Builder\TraitUse::with receiving adaptation builder ability |
f6fc248c | 20-Jul-2018 |
ProgMiner |
Add TraitUseAdaptation and factory for it |
84dcd179 | 20-Jul-2018 |
ProgMiner |
Add TraitUse builder and useTrait builder factory |