Skip to content

Error when scanning package for php 8.1 compatibility #434

Open
@corey-rosamond

Description

@corey-rosamond

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions