History log of /PHP-Parser/lib/PhpParser/PrettyPrinterAbstract.php (Results 76 – 100 of 157)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 69c5d48a 15-Jul-2020 Tomas Votruba

[PHP 8.0] Add match expressions (#672)

RFC: https://wiki.php.net/rfc/match_expression_v2
Upstream implementation: php/php-src#5371

Closes #671.


# b58b19ed 07-Jun-2020 TomasVotruba

Add constructor promotion support


# 0d2d8f95 27-Jun-2020 Nikita Popov

FPPP: Support catch without variable


# 602af906 09-Feb-2020 Nikita Popov

Add end line / file position / token position to comments


# bf086d98 09-Feb-2020 Nikita Popov

FPPP: Remove special Nop handling

This results in ugly formatting, but avoids generating invalid
code.


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
# aa97a9bb 11-May-2019 Nikita Popov

Add changelog entries


# aa72c5d6 11-May-2019 Nikita Popov

FPPP: Support inserting into empty lists


# f3b19c19 09-May-2019 Tomáš Votruba

[PHP 7.4] Add support for arrow functions (#602)

Per RFC https://wiki.php.net/rfc/arrow_functions_v2.


Revision tags: v4.2.1
# 9de96821 22-Jan-2019 Tomas Votruba

Add support for ??= operator

Introduced in PHP 5.4, represented using an AssignOp\Coalesce node.


# b7e63615 19-Jan-2019 Lars Moelleken

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->

updates via "rectorphp/rector" (#573)

- "global" -> remove unused "use" statements
- "phpunit" -> fix "@covers" comments
- "phpunit" -> replace "->will($this->returnValue()" with "->willReturn()"
- "UseTest.php" -> add missing namespace
- "composer.json" -> use "autoload-dev"
- remove -> "require_once" usage in the tests (use autoload-dev via composer.json)

-> most of the changes are done automatically by "https://github.com/rectorphp/rector"

show more ...


Revision tags: v4.2.0
# af8c7296 05-Jan-2019 Tomas Votruba

Add PHP 7.4 typed properties support


Revision tags: v4.1.1, v4.1.0, v4.0.4, v4.0.3
# df64d86c 06-Jul-2018 openex27

Check for empty $append in safeAppend()

Can happen with Nop statements.


Revision tags: v4.0.2, v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1
# d817818b 27-Jan-2018 Nikita Popov

Move TokenStream into Internal namespace


Revision tags: v3.1.4
# 4dacbb8d 25-Jan-2018 Nikita Popov

FPPP: Fix indentation on list insertion

Use indentation of last list element, instead of indentation
before the insertion point.

Fixes #466.


# 5285df8f 13-Jan-2018 Nikita Popov

[CS] Use elseif instead of else if

Conflicts:
lib/PhpParser/TokenStream.php


# 1c7fd314 26-Dec-2017 Nikita Popov

FPPP: Add heuristic for multi-line lists


# fb817556 26-Dec-2017 Nikita Popov

Simplify delayed add code

$insertStr always stays the same, so no reason to store it
separately.


Revision tags: v4.0.0alpha3, v3.1.3
# 8d3cb5f5 26-Dec-2017 Nikita Popov

FPPP: Fallback if we must insert a block


# a86151f2 24-Dec-2017 Nikita Popov

FPPP: Fix fallback for inline HTML


# 4fcdac40 02-Dec-2017 Nikita Popov

FPPP: Fix insertion of multiple elems at start


# dc3ace55 01-Dec-2017 Nikita Popov

FPPP: Support insert at start of list node (#446)


# 336a49b4 13-Nov-2017 Nikita Popov

FPPP: Fix comment indentation (#443)


# 8d3f48ab 12-Nov-2017 Nikita Popov

Switch some auxiliary pretty printer tables away from getType()

Instead use class names via ::class.


Revision tags: v4.0.0alpha2
# 68e9b91e 10-Nov-2017 Nikita Popov

Use fully-qualified names for global constant references


1234567