History log of /PHP-Parser/lib/PhpParser/Internal/PrintableNewAnonClassNode.php (Results 1 – 15 of 15)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# ea778075 17-Aug-2023 Nikita Popov

Add more property types

Some of these are not maximally accurate due to lack of union
types.


# 502b0909 16-Aug-2023 Nikita Popov

Add property types

Types omitted in two places where we violate them currently:
Namespace_::$stmts can be null during parsing, and Enum_::$scalarType
can be a complex type for invali

Add property types

Types omitted in two places where we violate them currently:
Namespace_::$stmts can be null during parsing, and Enum_::$scalarType
can be a complex type for invalid programs.

show more ...


# 91da1914 20-May-2023 Nikita Popov

Support readonly anonymous classes


# b3ad14b9 17-Sep-2022 Nikita Popov

Fix some types


# fc6b4890 11-Sep-2022 Nikita Popov

Specify more types


# 48f470ea 11-Sep-2022 Nikita Popov

Add missing return types


# dd63ddbc 28-Aug-2022 Nikita Popov

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired st

Add php-cs-fixer config and reformat

The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired style, which is PSR-12, but with sane brace placement.

show more ...


# 5af93eee 04-Jun-2022 Nikita Popov

Use nullable type instead of null default

Fixes #752.


# c7dc3ce5 19-Sep-2020 Nikita Popov

Add basic FPPP support for attributes


Revision tags: v4.3.0, v4.2.5, v4.2.4, v4.2.3, v4.2.2, v4.2.1, v4.2.0
# 90ee36a7 26-Dec-2018 Nikita Popov

Actually remove assertion...


Revision tags: v4.1.1
# 49d73e82 26-Dec-2018 Nikita Popov

Remove anon class null name assertion

Fixes #554.


Revision tags: 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
# 24995347 10-Jan-2018 Gabriel Caruso

[CS] Whitespace before return type


# 7f72c841 10-Jan-2018 Gabriel Caruso

[CS] Open class brackets in new line


Revision tags: v4.0.0alpha3, v3.1.3, v4.0.0alpha2, v3.1.2
# 57bf3784 02-Nov-2017 TomasVotruba

add missing strict_types to lib


# 5900d78c 29-Oct-2017 Nikita Popov

FPPP: Support anonymous classes (#432)

This is a huge hack... We temporarily create a new node with the
correct structure and use that for printing.

I think it would be better t

FPPP: Support anonymous classes (#432)

This is a huge hack... We temporarily create a new node with the
correct structure and use that for printing.

I think it would be better to always use a separate node type for
NewAnonClass, rather than using a combination of New and Class,
but this would require some larger changes, as this node type would
have to be both Expr and ClassLike, which is not possible right now,
as the latter is a class rather than an interface...

show more ...