Closed GenericHero01 closed 3 years ago
Howdy!
This looks like a great package for an upcoming project, however, I ran into some compatibility/deprecation issues when attempting a RateQuote.
ErrorException Method ReflectionParameter::getClass() is deprecated
Line 72 of AbstracComplexType.php is the culprit, though that's also used later down the file:
$parameterClass = $reflectionClass->getMethod($setterMethodName)->getParameters()[0]->getClass();
I can suppress error messages on my end and get it working, however, that doesn't feel great. Are there any plans to refactor for PHP 8 support? I'm poking at it on my end as well, though I'll be the first to admit I'm a relative PHP newbie.
Thanks!
These deprecated warnings should be fixed now in version 5.0.1.
Excellent, I just updated and see no errors. Thanks!
Howdy!
This looks like a great package for an upcoming project, however, I ran into some compatibility/deprecation issues when attempting a RateQuote.
ErrorException Method ReflectionParameter::getClass() is deprecated
Line 72 of AbstracComplexType.php is the culprit, though that's also used later down the file:
$parameterClass = $reflectionClass->getMethod($setterMethodName)->getParameters()[0]->getClass();
I can suppress error messages on my end and get it working, however, that doesn't feel great. Are there any plans to refactor for PHP 8 support? I'm poking at it on my end as well, though I'll be the first to admit I'm a relative PHP newbie.
Thanks!