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

Error when scanning package for php 8.1 compatibility

Open corey-rosamond opened this issue 3 years ago • 0 comments

I am trying to upgrade our servers to php8.1 from php7.4 so I am using phpcs to run a compatibility scan and it is reporting the following issue

FILE: vendor/authorizenet/authorizenet/lib/net/authorize/util/Log.php

FOUND 1 ERROR AFFECTING 1 LINE

259 | ERROR | Since PHP 7.0, functions inspecting arguments, like debug_backtrace(), no longer report the original value as passed to a parameter, but will instead provide the current value. The parameter "$logMessage" was changed on line 253.

corey-rosamond avatar Jun 27 '22 19:06 corey-rosamond