History log of /PHP-Parser/ (Results 51 – 75 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
ec02613401-Mar-2024 Maarten Buis

Update `PhpVersion::getNewestSupported()` to PHP 8.3

af14fdb221-Feb-2024 Nikita Popov

Avoid cyclic reference in parser

Pass $this as an explicit $self argument to the reduce callbacks,
so we can make them static. This avoids a circular reference in
the parser, so that

Avoid cyclic reference in parser

Pass $this as an explicit $self argument to the reduce callbacks,
so we can make them static. This avoids a circular reference in
the parser, so that it can be immediately destroyed when it goes
out of scope.

Fixes #980.

show more ...

2218c22521-Feb-2024 Nikita Popov

Release PHP-Parser 5.0.1

ce019e9a14-Jan-2024 sasezaki

Add dev tool files to export-ignore

ff095c3c10-Jan-2024 Nikita Popov

Check for tokens with non-integer ID

Fixes #974.

d619c8b409-Jan-2024 Nikita Popov

Fix typo in upgrading guide

Fixes #973.

eb036d5a07-Jan-2024 Nikita Popov

Add instructions for adding new syntax support

4a21235f07-Jan-2024 Nikita Popov

Update documentation links in README

fba1d62107-Jan-2024 Nikita Popov

Release PHP-Parser 5.0.0

5cc5a67007-Jan-2024 Nikita Popov

Upgrading guide tweaks

f603e19307-Jan-2024 Nikita Popov

Avoid PHPUnit deprecation warnings

1eeeb2d522-Dec-2023 Ondrej Mirtes

Fix parent class of PropertyItem and UseItem

255000ad20-Dec-2023 Nikita Popov

Release PHP-Parser 5.0.0rc1

f7d484aa20-Dec-2023 Nikita Popov

Fix handling of empty input

Fixes #967.

f82a636510-Dec-2023 Nikita Popov

Add upgrading nodes for changes since beta1

Fixes #965.
Fixes #966.

13a41f0517-Dec-2023 Ondřej Mirtes

Fix typos in UPGRADE-5.0.md

f666500728-Nov-2023 Ondrej Mirtes

Fix NameResolver for class constant native type

d0b3512612-Nov-2023 Nikita Popov

Update CHANGELOG

3640d18b12-Nov-2023 Nikita Popov

Remove ParserFactory::create()

Don't try to keep backwards-compatibility with the old factory
style, which doesn't map cleanly onto supported options (we only
have ONLY_PHP7/PREFER_P

Remove ParserFactory::create()

Don't try to keep backwards-compatibility with the old factory
style, which doesn't map cleanly onto supported options (we only
have ONLY_PHP7/PREFER_PHP7, which should probably create a Php8
parser in terms of how they are used, but this would no longer
match their names).

Instead, I have backported the new createForNewestSupportedVersion()
and createForHostVersion() methods to PHP-Parser 4.

show more ...

b54302f301-Nov-2023 Théo FIDRY <5175937+theofidry@users.noreply.github.com>

build: Exclude grammar from export git artifact

(cherry picked from commit 402b6cf3452c21c58aa11d9549cee6205d14e347)

acfccd9d01-Nov-2023 Nikita Popov

Run with updated php-cs-fixer

eabae1f701-Nov-2023 Sandro Gehri

Fix typo

8d50e9d003-Oct-2023 xjaja <5057757+xjaja@users.noreply.github.com>

Don't drop class statements before error (#952)

When encountering a null statement (indicating that an error occurred),
retain the preceding statements. These were accidentally dropped

Don't drop class statements before error (#952)

When encountering a null statement (indicating that an error occurred),
retain the preceding statements. These were accidentally dropped
previously.

(cherry picked from commit 54103d838734be0499172026525e38cbf6af2711)

show more ...

481fec4707-Oct-2023 Abdul Malik Ikhsan

Improve performance of find() and findFirst() when passed $nodes is empty array

4e27a17c06-Jun-2022 Nikita Popov

Use visitor to assign comments

This fixes the long-standing issue where a comment would get assigned
to all nodes with the same starting position, instead of only the
outer-most one.

Use visitor to assign comments

This fixes the long-standing issue where a comment would get assigned
to all nodes with the same starting position, instead of only the
outer-most one.

Fixes #253.

show more ...

12345678910>>...68