gocardless-pro-php
gocardless-pro-php copied to clipboard
Creation of dynamic property deprecation warnings on PHP 8.2
This library seems to be hitting this deprecation warning: https://php.watch/versions/8.2/dynamic-properties-deprecated
Steps to repro:
- Install the library on PHP 8.2
- Initialize the client
Results:
PHP Deprecated: Creation of dynamic property GoCardlessPro\Core\ApiClient::$http_client is deprecated in /Users/hheath/code/php_sandbox/vendor/gocardless/gocardless-pro/lib/Core/ApiClient.php on line 24
Deprecated: Creation of dynamic property GoCardlessPro\Core\ApiClient::$http_client is deprecated in /Users/hheath/code/php_sandbox/vendor/gocardless/gocardless-pro/lib/Core/ApiClient.php on line 24
PHP Deprecated: Creation of dynamic property GoCardlessPro\Core\ApiClient::$error_on_idempotency_conflict is deprecated in /Users/hheath/code/php_sandbox/vendor/gocardless/gocardless-pro/lib/Core/ApiClient.php on line 25
Deprecated: Creation of dynamic property GoCardlessPro\Core\ApiClient::$error_on_idempotency_conflict is deprecated in /Users/hheath/code/php_sandbox/vendor/gocardless/gocardless-pro/lib/Core/ApiClient.php on line 25