ARCANEDEV / noCAPTCHA

:passport_control: Helper for Google's new noCAPTCHA (reCAPTCHA v2 & v3)
MIT License
359 stars 56 forks source link

PHP 8.1 support #106

Closed oprypkhantc closed 2 years ago

oprypkhantc commented 2 years ago

Trying to use it with PHP 8.1 results in the following deprecation being thrown: Return type of Arcanedev\NoCaptcha\Utilities\AbstractResponse::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /app/vendor/arcanedev/no-captcha/src/Utilities/AbstractResponse.php on line 204