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
We are getting deprecation messages every time we call verify()
Expected Behavior
When using verify()->check($verificationCode, $code), we should not get deprecation warnings
Current Behavior
When using verify()->check($verificationCode, $code), we are getting lots of deprecation messages User Deprecated: Vonage\Verify\Verification::getRequest() is deprecated. Please get the APIResource from the appropriate client to get this information
Possible Solution
Steps to Reproduce (for bugs)
Just use verify()->check($verificationCode, $code) (we use it in symfony context)
Context
Our sentries issues are filled with those messages 😅
Your Environment
Version used: 4.3.1
Environment name and version (e.g. PHP 7.2 on nginx 1.19.1): PHP 8.2 on nginx
Operating System and version: Ubuntu 20.04 LTS
The text was updated successfully, but these errors were encountered:
Thanks for reporting this.
I'll need to do a bit of investigation, as removing the deprecations (we had a circular warning dependency problem here) might be a backward breaking change, which means it'll have to wait until 5.0
Vonage\Verify\Verification::getResponse() is deprecated. Please get the APIResource from the appropriate client to get this information in /var/www/html/code/vendor/vonage/client-core/src/Entity/Psr7Trait.php on line 103
Vonage\Verify\Verification::setResponse() is deprecated and will be removed in /var/www/html/code/vendor/vonage/client-core/src/Entity/Psr7Trait.php on line 45
Using Vonage\Verify\Verification for starting a verification is deprecated, please use Vonage\Verify\Request instead in /var/www/html/code/vendor/vonage/client-core/src/Verify/Verification.php on line 83
Creation of dynamic property Vonage\Verify\Verification::$data is deprecated in /var/www/html/code/vendor/vonage/client-core/src/Entity/Psr7Trait.php on line 66
This will unfortunately keep happening until version 5 comes out, when deprecations will be actually removed and the internals fixed. I can't change the internal signatures until a major release.
We are getting deprecation messages every time we call verify()
Expected Behavior
When using
verify()->check($verificationCode, $code)
, we should not get deprecation warningsCurrent Behavior
When using
verify()->check($verificationCode, $code)
, we are getting lots of deprecation messagesUser Deprecated: Vonage\Verify\Verification::getRequest() is deprecated. Please get the APIResource from the appropriate client to get this information
Possible Solution
Steps to Reproduce (for bugs)
Context
Our sentries issues are filled with those messages 😅
Your Environment
The text was updated successfully, but these errors were encountered: