coingate-php icon indicating copy to clipboard operation
coingate-php copied to clipboard

PHP8.4 Not Supported - Nullable Type Errors

Open teamayu opened this issue 11 months ago • 2 comments

Will this library get updated for PHP8?

I'm currently getting:

CoinGate\BaseClient::setApiKey(): Implicitly marking parameter $apiKey as nullable is deprecated, the explicit nullable type must be used instead

Thanks.

teamayu avatar Jan 18 '25 12:01 teamayu

thank you for noticing this, currently this is a deprecation warning and will be fixed in the next release

vgumonis avatar Jan 20 '25 13:01 vgumonis

Hi, I'm sure that those will also be checked but I'm attaching a few more that I'm getting myself just in case.

PHP message: PHP Deprecated:  CoinGate\BaseClient::setApiKey(): Implicitly marking parameter $apiKey as nullable is deprecated, the explicit nullable type must be used instead 
PHP message: PHP Deprecated:  CoinGate\BaseClient::setAppInfo(): Implicitly marking parameter $appVersion as nullable is deprecated, the explicit nullable type must be used instead 
PHP message: PHP Deprecated:  CoinGate\Services\PublicService::getCurrencies(): Implicitly marking parameter $kind as nullable is deprecated, the explicit nullable type must be used instead 
PHP message: PHP Deprecated:  CoinGate\Services\PublicService::getMerchantPayCurrencies(): Implicitly marking parameter $kind as nullable is deprecated, the explicit nullable type must be used instead 
PHP message: PHP Deprecated:  CoinGate\Services\PublicService::getMerchantPayoutCurrencies(): Implicitly marking parameter $kind as nullable is deprecated, the explicit nullable type must be used instead 

regards

fperxas avatar Oct 27 '25 11:10 fperxas