You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added context:
Luckily, the thrown InvalidRequest exception in makeRequest() does not have the $previous/3rd argument, so the null isn't compared against expected interface Throwable.
This is the reason build tests in PHP 5.6 are passing. But when set, it will lead to fatal error.
Issue Summary
According to composer.json, this library supports PHP version 5.6 and greater.
During review, my IDE warned that
Throwable
is used in file InvalidRequest. This interface is available since PHP 7.0.Solution: bump PHP version requirement to '>=7.x' or replace
Throwable
usingException
.Technical details:
The text was updated successfully, but these errors were encountered: