php-semver-checker icon indicating copy to clipboard operation
php-semver-checker copied to clipboard

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

Open danmooney2 opened this issue 1 year ago • 1 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.

danmooney2 avatar Apr 12 '23 17:04 danmooney2

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

danmooney2 avatar Aug 08 '23 14:08 danmooney2