History log of /PHP-Parser/ (Results 426 – 450 of 1690)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
75abbbd206-Sep-2020 Nikita Popov

Handle flexible heredoc via TokenEmulator

Extend the interface to support preprocessing.

39b0460006-Sep-2020 Nikita Popov

Refactor token emulator registration

Only determine needed emulators based on PHP version once, and
add an adaptor that allows treating forward and reverse emulation
the same.

Refactor token emulator registration

Only determine needed emulators based on PHP version once, and
add an adaptor that allows treating forward and reverse emulation
the same.

Previously the isEmulationNeeded() check was too conservative,
as it also considered emulators that are not relevant for the
version. Though possibly that check should just be dropped
altogether.

show more ...

e3872b8906-Sep-2020 Nikita Popov

Improve compatibility with other libs defining compat tokens

4a40a84c02-Sep-2020 Ondřej Mirtes

Fixed PHPDoc typo

88e5197630-Aug-2020 Nikita Popov

Release PHP-Parser 4.9.1

35306de329-Aug-2020 Nikita Popov

Support visibility modifiers in namespaced names

Fixes #704.

ad365b1b29-Aug-2020 Nikita Popov

FPPP: Fix code block detection during removal

Instead of checking whether there is a {/} before/after the removed
note, check whether {/} occurs in the between-node range. Dropping
t

FPPP: Fix code block detection during removal

Instead of checking whether there is a {/} before/after the removed
note, check whether {/} occurs in the between-node range. Dropping
that is what we're really concerned about here.

show more ...

4bc8243223-Aug-2020 Nikita Popov

Only special-case brace handling for statement lists

Don't interpret the } before a catch clause as a block statement
and trigger a pretty printing fallback.

fd6052e323-Aug-2020 Ondrej Mirtes

FPPP failing tests

bd72280923-Aug-2020 Nikita Popov

FPPP: Support removing nodes from start of list

56356e4a22-Aug-2020 Viktor Szépe

Remove repeated word from PHPDoc in Name

aaee038b18-Aug-2020 Nikita Popov

Release PHP-Parser 4.9.0

f9d35fe110-Aug-2020 Nikita Popov

Fix casing of class name

8bcaa42609-Aug-2020 Nikita Popov

Add parens for new/instanceof with complex expression

This is not fully accurate because the rules for "new variables"
are different than the rules for dereferenceable LHS.

feb6bf7a09-Aug-2020 Nikita Popov

Wrap class const LHS in parens if necessary

This looks like a very old bug in the pretty printer that showed
up in PHP 8 tests.

0cee208809-Aug-2020 Nikita Popov

Remove self/parent/static restriction for namespace names

This no longer applies as of PHP 8.0.

78e08fc109-Aug-2020 Nikita Popov

Allow keywords in namespace declaration

3aadc15e09-Aug-2020 Nikita Popov

Support keywords in namespaced names

a983505809-Aug-2020 Nikita Popov

Add support for throw expression

7f39876909-Aug-2020 Nikita Popov

Add support for static return type

98f7f39d09-Aug-2020 Nikita Popov

Add named argument support

Not adding any explicit FPPP support, as I don't think add/remove
of names can be handled any better than full reformatting.

7221195009-Aug-2020 Nikita Popov

Fine grained version choice for test_old

544aee1605-Aug-2020 Graham Campbell

Fix up tests

8c58eb4c09-Aug-2020 Nikita Popov

Release PHP-Parser 4.8.0

23d9c17702-Aug-2020 Nikita Popov

Add support for nullsafe operator

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