Skip to content

Call to undefined method PhpParser\Node\NullableType::toString() #94

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

Closed
tomzx opened this issue Dec 9, 2017 · 3 comments
Closed

Call to undefined method PhpParser\Node\NullableType::toString() #94

tomzx opened this issue Dec 9, 2017 · 3 comments

Comments

@tomzx
Copy link
Owner

tomzx commented Dec 9, 2017

PHP Fatal error:  Uncaught Error: Call to undefined method PhpParser\Node\NullableType::toString() in php-semver-checker-git.phar/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Comparator/Type.php:24
Stack trace:
#0 php-semver-checker-git.phar/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Comparator/Signature.php(41): PHPSemVerChecker\Comparator\Type::get(Object(PhpParser\Node\NullableType))
#1 php-semver-checker-git.phar/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Analyzer/ClassMethodAnalyzer.php(82): PHPSemVerChecker\Comparator\Signature::analyze(Array, Array)
#2 php-semver-checker-git.phar/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Analyzer/ClassAnalyzer.php(47): PHPSemVerChecker\Analyzer\ClassMethodAnalyzer->analyze(Object(PhpParser\Node\Stmt\Class_), Object(PhpParser\Node\Stmt\Class_))
#3 php-semver-checker-git.phar/vendor/tomzx/php-semver-checker/src/PHPSemVerChecker/Comparator/Type.php on line 24

This error occurs when running against Symfony 4 codebase.

@tomzx
Copy link
Owner Author

tomzx commented Feb 24, 2018

Fixed @ 7bdf3e1.

@aivus
Copy link

aivus commented Feb 27, 2019

Hey @tomzx
Could you please release version with this fix?

@tomzx
Copy link
Owner Author

tomzx commented Mar 9, 2019

@aivus v0.13.0 was pushed with this fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants