Skip to content

multiline array shape not merged? #38

Closed
@orklah

Description

@orklah

Hi, I have a multiline array shape in a project that doesn't seem to be parsed.

When searching for an answer, I found #33 that do exactly that.

However, as though this was supposed to be merged according to
phpstan/phpstan#2497 (comment)
and
#33 (comment)

The actual commit was pretty empty:
18b0e92

and I can't find the content of the PR on master.

For example:
https://github.com/shmax/phpdoc-parser/blob/17d28cc099984a5ecbbbfb7b102daa45ce1af62f/tests/PHPStan/Parser/TypeParserTest.php#L481
https://github.com/shmax/phpdoc-parser/blob/master/tests/PHPStan/Parser/TypeParserTest.php#L481
should be the same

https://github.com/shmax/phpdoc-parser/blob/17d28cc099984a5ecbbbfb7b102daa45ce1af62f/src/Parser/TypeParser.php#L224
https://github.com/shmax/phpdoc-parser/blob/master/src/Parser/TypeParser.php#L224
too.

Was this reverted afterward?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions