History log of /PHP-Parser/lib/PhpParser/PrettyPrinter/Standard.php (Results 76 – 100 of 160)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 23d9c177 02-Aug-2020 Nikita Popov

Add support for nullsafe operator


# 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


# b5f5313d 03-Jun-2020 TomasVotruba

[PHP 8.0] Add exception witout variable


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
# 2e2954cc 14-Jul-2019 Tyson Andre

Avoid notices in php 7.4 with hexdec/base_convert (#619)

This is made to avoid notices caused by
https://wiki.php.net/rfc/base_convert_improvements

(seen with `php -d error_repo

Avoid notices in php 7.4 with hexdec/base_convert (#619)

This is made to avoid notices caused by
https://wiki.php.net/rfc/base_convert_improvements

(seen with `php -d error_reporting=E_ALL vendor/bin/phpunit`)

show more ...


Revision tags: v4.2.2
# 8012faea 09-May-2019 Tomas Votruba

[PHP 7.4] Add array spread


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


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

Add PHP 7.4 typed properties support


# 0ef61b49 03-Jan-2019 Tomas Votruba

add float/double/real KIND support to Cast\Double node


Revision tags: v4.1.1, v4.1.0, v4.0.4, v4.0.3, v4.0.2
# 6526ea24 03-Jun-2018 Nikita Popov

Throw when printin EncapsedStringPart

This needs to go through something like Encapsed or ShellExec to
determine quotation type. Explicitly throw an exception to avoid
getting an und

Throw when printin EncapsedStringPart

This needs to go through something like Encapsed or ShellExec to
determine quotation type. Explicitly throw an exception to avoid
getting an undefined method error.

show more ...


Revision tags: v4.0.1, v4.0.0, v3.1.5, v4.0.0beta1, v3.1.4
# d01fafcb 25-Jan-2018 Nikita Popov

Handle +(++$x) and -(--$x) as well


# 94c715d9 25-Jan-2018 Nikita Popov

Fix pretty printing of -(-$x) and +(+$x)

Fixes #459.


# f6617e6d 10-Jan-2018 Gabriel Caruso

[CS] Space after ternary operator


Revision tags: v4.0.0alpha3, v3.1.3
# e5453f0d 01-Dec-2017 Nikita Popov

Extract pSingleQuotedString as an extension point

And add some more string formatting tests.


# 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


Revision tags: v3.1.2
# 77627536 25-Oct-2017 Nikita Popov

FPPP: Support modifier changes (#428)

I decided against introducing a node type for this. In the end it
would require special handling anyway.


Revision tags: v4.0.0alpha1
# bb2ac911 06-Oct-2017 Nikita Popov

Move leading space out of pStmt_Else

Same as previous commit. Also add support for pStmt_If->else
insertion.


# e3888cbe 06-Oct-2017 Nikita Popov

Move leading space out of pStmt_ElseIf

This is not part of the elseif itself and as such belongs in the
pStmt_If printer.


# d8f91733 29-Sep-2017 Nikita Popov

Add Node::getComments() method


# ec8692fb 03-Sep-2017 Nikita Popov

Fix InlineHTML indentation


# 61e624bc 03-Sep-2017 Nikita Popov

Replace noIndent mechanism in pretty printer

Instead store newline with indentation in $nl property and use it
where needed.

The implementation should be changed to compilet ind

Replace noIndent mechanism in pretty printer

Instead store newline with indentation in $nl property and use it
where needed.

The implementation should be changed to compilet indentLevel and
fpIndentLevel, I don't think these need to be kept separate.

show more ...


Revision tags: v3.1.1
# e2e99f26 18-Aug-2017 TomasVotruba

Add strict_types to lib code


1234567