Skip to content

PHPSemVerChecker\Comparator\Type::get does not support PhpParser\Node\UnionType #179

Open
@danmooney2

Description

@danmooney2

PHPSemVerChecker\Comparator\Type::get method does not check for instanceof PhpParser\Node\UnionType. toString method is not present on PhpParser\Node\UnionType or any other ComplexType, hence why a change was made here to specifically support NullableType. This should be updated to support all complex types introduced by PhpParser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions