web-push-libs / web-push-php

Web Push library for PHP
MIT License
1.69k stars 295 forks source link

Fix: openssl_pkey_free is deprecated for PHP 8 #321

Closed smujaddid closed 3 years ago

smujaddid commented 3 years ago

Fixed #311

Some projects using PHP 8 are broken because of this deprecated function. This PR will fix that.

smujaddid commented 3 years ago

Also see https://github.com/PHPMailer/PHPMailer/commit/cde7d82391fd9c08493448ac0945c4be13245773 and https://github.com/PHPMailer/PHPMailer/issues/2178