Skip to content

chore: fix php 8.5 deprecation warning#176

Merged
kridai merged 1 commit intosendgrid:mainfrom
rizer-io:php8.5
May 5, 2026
Merged

chore: fix php 8.5 deprecation warning#176
kridai merged 1 commit intosendgrid:mainfrom
rizer-io:php8.5

Conversation

@slipszenko
Copy link
Copy Markdown
Contributor

Fixes

Call unset() instead of curl_close() to prevent PHP 8.5 deprecation errors.

Checklist

  • I acknowledge that all my contributions will be made under the project's license
  • I have made a material change to the repo (functionality, testing, spelling, grammar)
  • I have read the Contribution Guidelines and my PR follows them
  • I have titled the PR appropriately
  • I have updated my branch with the main branch
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation about the functionality in the appropriate .md file
  • I have added inline documentation to the code I modified

If you have questions, please file a support ticket.

@esetnik
Copy link
Copy Markdown

esetnik commented Mar 16, 2026

@manisha1997 I see that you were previously maintainer of this project. Can you please take a look at this? This unsupported deprecation is causing thousands of warnings per hour in our application. Thanks.

@Yarre
Copy link
Copy Markdown

Yarre commented May 5, 2026

Just bumping things up, can it be merged? It is really annoying with deprecation warning.

@kridai kridai merged commit f35bfce into sendgrid:main May 5, 2026
2 checks passed
@Yarre
Copy link
Copy Markdown

Yarre commented May 5, 2026

Thank you. I think the build should be rerun or so as the test was fixed separately/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants