nordigen / nordigen-php

MIT License
40 stars 17 forks source link

Creation of dynamic property Nordigen\\NordigenPHP\\API\\RequestHandler::$authentication is deprecated in /home/.../public/vendor/nordigen/nordigen-php/src/API/RequestHandler.php on line 17 #25

Open johnyfernandes opened 1 month ago

johnyfernandes commented 1 month ago

Describe the bug After updating to PHP 8.3, I started to get this error: Creation of dynamic property Nordigen\\NordigenPHP\\API\\RequestHandler::$authentication is deprecated in /.../.../public_html/.../public/vendor/nordigen/nordigen-php/src/API/RequestHandler.php on line 17

To Reproduce Steps to reproduce the behavior:

  1. Use the library using PHP 8.3

Expected behavior I expected it to work, to authenticate properly.

Additional context The warning is occurring because PHP 8.2 and later versions have deprecated the creation of dynamic properties. To resolve this, we should explicitly declare the $authentication property in the class.

If you're having general trouble with your Nordigen integration or bank related issue, please reach out to our support via email bank-account-data-support@gocardless.com

johnyfernandes commented 3 weeks ago

I really need to have any fix for this. I already contacted using e-mail and everything.