History log of /PHP-Parser/ (Results 476 – 500 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
4abc531227-Jun-2020 Nikita Popov

Canonicalize to PHP 8 comment token format

The trailing newline is no longer part of the comment token.

b58b19ed07-Jun-2020 TomasVotruba

Add constructor promotion support

0d2d8f9527-Jun-2020 Nikita Popov

FPPP: Support catch without variable

244db65d12-Jun-2020 TomasVotruba

[PHP 8.0] Add trailing comma in parameter list

53c2753d03-Jun-2020 Nikita Popov

Release PHP-Parser 4.5.0

b5f5313d03-Jun-2020 TomasVotruba

[PHP 8.0] Add exception witout variable

32f8966228-May-2020 Máté Kocsis

Add support for the mixed type

f33f081c18-Apr-2020 Hassan Tariq

Fix a minor typo

bd43ec7110-Apr-2020 Nikita Popov

Release PHP-Parser 4.4.0

d86ca0f722-Feb-2020 Nikita Popov

Support arbitrary expressions in new/instanceof

c8d1216522-Feb-2020 Nikita Popov

Treat magic constants like normal constants

8999a13c22-Feb-2020 Nikita Popov

Make class constants fully dereferencable

c1eaa0d522-Feb-2020 Nikita Popov

Unify array and object dereferencability

ca5f7c9722-Feb-2020 Nikita Popov

Split productions, unify {} dereferencing

ad696ee722-Feb-2020 Nikita Popov

Make encapsed strings fully dereferencable

6770deda22-Feb-2020 Nikita Popov

Check that ::class on object works

568236a319-Feb-2020 Nikita Popov

Allow expressions in list()

Similar to the previous commit: list() syntactically accepts any
expression and non-variables are compile-time errors. The special
case of ($a) ends up be

Allow expressions in list()

Similar to the previous commit: list() syntactically accepts any
expression and non-variables are compile-time errors. The special
case of ($a) ends up being legal by accident.

show more ...

9dda080a19-Feb-2020 Nikita Popov

Allow expressions in isset()

Partial fix for #653. PHP 7 allows expressions inside isset(), but
rejects non-variables in the compiler. A side-effect of this is that
isset(($x)) is al

Allow expressions in isset()

Partial fix for #653. PHP 7 allows expressions inside isset(), but
rejects non-variables in the compiler. A side-effect of this is that
isset(($x)) is allowed, though this is not intentional.

show more ...

3ec87ef715-Feb-2020 Nikita Popov

Don't require doc comment to be last comment

Fixes #652.

a2443aae09-Feb-2020 Nikita Popov

Make check in numeric literal separator emulator more precise

a) Don't check for !== false, preg_match() return 0 if there is
no match. This effectively means that the check was always t

Make check in numeric literal separator emulator more precise

a) Don't check for !== false, preg_match() return 0 if there is
no match. This effectively means that the check was always true.
b) Check for hex characters only if there's an 0x prefix. 1_1 is
very likely a numeric separator, but a_b might well be part of
an identifier.

Fixes #639.

show more ...

64f4d5b627-Dec-2019 Ruud Kamphuis

Add `getProperty` to `ClassLike`

f56d90d409-Feb-2020 Nikita Popov

Add additional tests for modifying a Nop comment

40aa228209-Feb-2020 Nikita Popov

Remove trailing comma

46cbd93909-Feb-2020 Nikita Popov

Place Nop nodes more precisely

If the Nop is created to collect comments, place it directly after
the comment, instead of at the next non-whitespace character.

602af90609-Feb-2020 Nikita Popov

Add end line / file position / token position to comments

1...<<11121314151617181920>>...68