Skip to content

Conversation

@antoineveldhoven
Copy link

Since PHP 8.0.0, curl_close() has no effect and is deprecated as of PHP 8.5.0. Given that this library requires a minimum PHP version of 8.0.0, this call is no longer necessary.

This PR removes the call to curl_close to comply with PHP 8.5.0.

Copilot AI review requested due to automatic review settings January 15, 2026 10:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR removes the deprecated curl_close() call to ensure compatibility with PHP 8.5.0, where the function is deprecated. Since the library already requires PHP 8.0.0 minimum, where curl_close() has no effect, this call is unnecessary.

Changes:

  • Removed the curl_close($ch) call from the queryFidoMetaDataService method
Comments suppressed due to low confidence (1)

src/WebAuthn.php:531

  • Corrected spelling of 'cetificates' to 'certificates'.
     * @return int number of cetificates

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant