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

PHP 8.2 compatibility error fixes

Open alejomoreira opened this issue 1 year ago • 2 comments

alejomoreira avatar Aug 29 '23 16:08 alejomoreira

I didn't run into this error while testing PHP8.2 support in our application. I will need to update our forked version. Thank you for sharing your changes.

I did see a deprecation notice that you can no longer dynamically declare a property and need to include private $sensitiveStringRegexes = NULL; on line 34 of lib/net/authorize/util/Log.php

/authorizenet/lib/net/authorize/util/Log.php:366
Creation of dynamic property net\authorize\util\Log::$sensitiveStringRegexes is deprecated

PHP8.2 Deprecation Notice

v2.0.4

resumeblaze avatar Jan 12 '24 17:01 resumeblaze

+1 on this, curious if this would fix upto 8.3

OGProgrammer avatar Jan 30 '24 05:01 OGProgrammer