Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to undefined method PhpParser\Node\UnionType::toString() in Comparator/Type.php with php7.3 #57

Open
vukanac opened this issue Oct 10, 2022 · 0 comments

Comments

@vukanac
Copy link

vukanac commented Oct 10, 2022

The smallest number of errors I get with php7.3 but still has one:

$ composer create-project tomzx/php-semver-checker-git --stability=dev ../semver
$ docker run -it --rm -v $(PWD)/../semver:/semver -v $(PWD):/app -w /app php:7.3-cli-alpine \
       sh -c "apk add git && php /semver/bin/php-semver-checker-git suggest -vvv --include-before=src --include-after=src --details --allow-detached"

Fatal error: Uncaught Error: Call to undefined method PhpParser\Node\UnionType::toString()
in /semver/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Comparator/Type.php:35
@vukanac vukanac changed the title Call to undefined method PhpParser\Node\UnionType::toString() in Comparator/Type.php Call to undefined method PhpParser\Node\UnionType::toString() in Comparator/Type.php with php7.3 Oct 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant