-
-
Notifications
You must be signed in to change notification settings - Fork 86
Fatal error on version 3.0: Argument 1 passed to Parser::unexpectedSyntaxError() must be of the type array, null given #124
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Indeed, rolling back to a commit before that PR makes everything work again. However, it may be possible that introducing type hints to |
Seems that it's already fixed by #119. @norzechowicz Can we get a 3.0.1 tag with the fix? :) |
Thank you @norzechowicz! 🍻 |
https://github.com/coduo/php-matcher/releases/tag/3.0.1 here you go, please let me know if it works now! |
Thanks @norzechowicz, it works fine 🎉 |
Hi, I'm using PHP Matcher 3.0 on PHP 7.2.
The following script:
results in the following exception:
With PHP Matcher 2.4 works as expected, returning
false
.The text was updated successfully, but these errors were encountered: