tomzx / php-semver-checker

Compares two source sets and determines the appropriate semantic versioning to apply.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

danmooney2 opened this issue · comments

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.

Are you going to reference the commit that fixes this issue? How dead is this project on a scale of 1-10?