History log of /PHP-Parser/lib/PhpParser/Builder/Enum_.php (Results 1 – 8 of 8)
Revision Date Author Comments
# ab51e9d3 17-Sep-2023 Nikita Popov

Remove superfluous phpdoc tags

These just specify a type that is already specified as a real PHP
type.


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


# 8ad41294 14-Dec-2022 Markus Staab

Declare list types (#907)

Closes #905


# 4c4af21d 14-Dec-2022 Markus Staab

Rewrote overly magic code to make it readable (#906)

New code inspired by https://github.com/nikic/PHP-Parser/blob/950bf8f1d1865cfd0d248e13a3455db0be1d870c/lib/PhpParser/Builder/Trait_.php#

Rewrote overly magic code to make it readable (#906)

New code inspired by https://github.com/nikic/PHP-Parser/blob/950bf8f1d1865cfd0d248e13a3455db0be1d870c/lib/PhpParser/Builder/Trait_.php#L43

show more ...


# 6af20446 11-Sep-2022 Nikita Popov

Add some missing property types


# f59f226f 11-Sep-2022 Nikita Popov

Fix some phpstan warnings


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


# 99a24b6a 05-Nov-2021 Jaroslav Hanslík

Added builders for enum and enum case