History log of /PHP-Parser/ (Results 576 – 600 of 1692)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: v4.1.0
d0230c5c10-Oct-2018 Nikita Popov

Release PHP-Parser 4.1.0

dc32345808-Oct-2018 Maks Rafalko

Add new constant to be returned from enterNode() to not traverse current and child nodes (#536)

* Add new constant to be returned from enterNode() to not travers current node for subsequent

Add new constant to be returned from enterNode() to not traverse current and child nodes (#536)

* Add new constant to be returned from enterNode() to not travers current node for subsequent visitors and skip children traversing

* Allow visitors to replace nodes in leaveNode() when DONT_TRAVERSE_CURRENT_AND_CHILDREN is used

show more ...

674c561004-Oct-2018 Matthew Brown

StaticCall::$name cannot be a string

4fb48c0e22-Sep-2018 Nikita Popov

Mark PHP 7.3 as supported

Also bump version to PHP-Parser 4.1.

d638dd9b22-Sep-2018 Tomáš Votruba

Use methods instead of annotations for expected exceptions (#533)

c531648722-Sep-2018 Nikita Popov

Update test_old Symfony runner

eebaa94622-Sep-2018 Nikita Popov

Flexible doc strings: Fix some issues, add more tests

0ed9065b21-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 ...

5f73c4de21-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 ...

146411bb21-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.

e12891a921-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 ...

a5c726bf21-Sep-2018 Nikita Popov

Make sure heredoc end label not followed by label char

fd93690721-Sep-2018 Nikita Popov

Test against more recent php-src tarball

Revision tags: v4.0.4, v4.0.3, v4.0.2
83766c8c28-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 ...

fa6ee28618-Sep-2018 Nikita Popov

Release PHP-Parser 4.0.4

16c5d10718-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 ...

d7d581c127-Aug-2018 Tomáš Votruba

Remove NodeTraverser dependency on parent::__construct() (#528)

A parent::__construct() call is now optional when extending NodeTraverser.

1973b66316-Aug-2018 Brent Shaffer

Fixes typo in AST Builder doc (#529)

7f96481c22-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.

4140808122-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.

4d6825c422-Jul-2018 Nikita Popov

Add notes for new builders in docs

d4a5a6e822-Jul-2018 ProgMiner

Add tests for Builder\TraitUseAdaptation

c55798cc22-Jul-2018 ProgMiner

Add tests for Builder\TraitUse

82e8b33822-Jul-2018 ProgMiner

Add some trait use factory builder integration tests

8d9ae46522-Jul-2018 ProgMiner

Add Builder\TraitUse::with receiving adaptation builder ability

1...<<21222324252627282930>>...68