Skip to content
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

Verify v1 - Deprecations when getting Verification::getRequest() #434

Open
kissifrot opened this issue Aug 29, 2023 · 1 comment
Open

Verify v1 - Deprecations when getting Verification::getRequest() #434

kissifrot opened this issue Aug 29, 2023 · 1 comment
Assignees
Labels
bug v5 Version 5 features/fixes

Comments

@kissifrot
Copy link

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)

  1. 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
@SecondeJK SecondeJK self-assigned this Sep 18, 2023
@SecondeJK SecondeJK added the bug label Sep 18, 2023
@SecondeJK
Copy link
Contributor

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

@SecondeJK SecondeJK added the v5 Version 5 features/fixes label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v5 Version 5 features/fixes
Projects
None yet
Development

No branches or pull requests

2 participants