-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
PHP 8.0.0 error due to incompatable dependency version #10
Comments
This is not a direct issue in this library. I created the appropriate issue in the right library: willdurand/Negotiation#110 |
@agustingomes |
@froschdesign ah nice, I missed that. then I'll go ahead and close that ticket in the negotiation package. |
Does this mean we need to add support for willdurand/negotiation 3.0 to this package? |
After manually installing willdurand/negotiation 3.0 the problem went away. So yes support for version 3.0 is required for this package. |
And we have to add PHP 8.0 support at all as this package does not even support the constraint. This package is not PHP 8 ready, yet. But I'll add the |
On PHP 8.0.0 an error is thrown. this is due to match becoming a reserved name this has been fixed bu the dependency author willdurand/negotiation. this composer JSON needs to reflect this to bump the version to ^3.0
Summary
In PHP 8.0.0 throws an unexpected error message
Current behavior
An unexpected error occurred; stack trace:
ParseError raised in file /home/cms/vendor/willdurand/negotiation/src/Negotiation/Negotiator.php line 41:
Message: syntax error, unexpected token "match"
Stack Trace:
How to reproduce
run on PHP 8.0.0
Expected behavior
no error message
The text was updated successfully, but these errors were encountered: