Skip to content

Fix api code

Fix api code #64

Triggered via pull request January 5, 2024 12:20
Status Failure
Total duration 41s
Artifacts

sca.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
analyse: Controller/tpay/CardPayment.php#L37
Access to static property $loggingEnabled on an unknown class Tpay\OriginApi\Utilities\Util.
analyse: Controller/tpay/CardPayment.php#L37
Access to static property $loggingEnabled on an unknown class Tpay\OriginApi\Utilities\Util.
analyse: Controller/tpay/Create.php#L33
Access to static property $loggingEnabled on an unknown class Tpay\OriginApi\Utilities\Util.
analyse: Controller/tpay/Create.php#L33
Access to static property $loggingEnabled on an unknown class Tpay\OriginApi\Utilities\Util.
analyse: Model/ApiFacade/CardTransaction/CardOpen.php#L32
Instantiated class tpaySDK\Api\TpayApi not found.
analyse: Model/ApiFacade/CardTransaction/CardOpen.php#L79
Undefined variable: $paymentResult
analyse: Model/ApiFacade/CardTransaction/CardOpen.php#L79
Variable $paymentResult in isset() is never defined.
analyse: Model/ApiFacade/CardTransaction/CardOpen.php#L80
Undefined variable: $paymentResult
analyse: Model/ApiFacade/CardTransaction/CardOpen.php#L82
Undefined variable: $paymentResult
analyse: Model/ApiFacade/CardTransaction/CardOrigin.php#L11
Class tpaycom\magento2basic\Model\ApiFacade\CardTransaction\CardOrigin extends unknown class Tpay\OriginApi\Notifications\CardNotificationHandler.