History log of /PHP-Parser/test/code/formatPreservation/listRemoval.test (Results 1 – 8 of 8)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# a1ccf577 24-Sep-2023 Nikita Popov

Introduce Stmt\Block

Stmt\Block will be created for { $a; } style blocks, unless these
occur directly inside some structure that is usually combined
with a block.

For exampl

Introduce Stmt\Block

Stmt\Block will be created for { $a; } style blocks, unless these
occur directly inside some structure that is usually combined
with a block.

For example if ($a) { $b; } will continue to use the old
representation (plain array in in If_::$stmts), but a free-standing
{ $b; } will become a Stmt\Block.

Fixes #590.

show more ...


# 289756d0 21-May-2023 Nikita Popov

Gracefully handle non-contiguous arrays in Differ

Fixes #909.


# ad365b1b 29-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 ...


# fd6052e3 23-Aug-2020 Ondrej Mirtes

FPPP failing tests


# bd722809 23-Aug-2020 Nikita Popov

FPPP: Support removing nodes from start of list


Revision tags: v4.3.0
# 664c1012 25-Oct-2019 Nikita Popov

Add support for union types

We definitely need to introduce a general "Type" abstraction in
the next major version.


Revision tags: v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0, v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4
# 1c7fd314 26-Dec-2017 Nikita Popov

FPPP: Add heuristic for multi-line lists


Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2
# 56bc8ebb 04-Nov-2017 Nikita Popov

FPPP: Add support for removal from list nodes