-
Notifications
You must be signed in to change notification settings - Fork 60
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
Workaround for Syntax error on "Match" #165
Comments
hi i have this problem indeed but i'm not sure where i get to change that. in the match.php file ? can you send me a sample with the code updated ? thank you |
I have a fork of this repo with numberous PHP 8 and 8.2 deprecation and error fixes if anyone is interested. Also forked on packagist. |
I wonder if someone's willing to upload it to packagist so it can be easier to install via Composer CLI. |
@gensart-x I made a fork that includes that fix. |
Splendid! Thanks @Geekimo |
Anyone using this w/ PHP 8+ will get a syntax error from using the new keyword "Match" in
r\ValuedQuery\ValuedQuery
. Renaming the import touse r\Queries\Math\Match AS RqlMatch;
and calling it in the Match methodreturn new RqlMatch($this, $expression);
fixes the issue.The text was updated successfully, but these errors were encountered: